-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat UX: Use config files and logic overrides
- Loading branch information
1 parent
66a7b61
commit 41c7784
Showing
9 changed files
with
245 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/usr/bin/env bash | ||
|
||
# .bashlava_env.sh, required by bashlava | ||
|
||
### DO NOT update vars directly within .bashlava_env.sh | ||
### Yo must create a new file: .bashlava_env_override.sh | ||
### Override these env_var from .bashlava_env_override.sh | ||
CFG_OVERRIDE_WITH_CUSTOM_CONFIG="true" | ||
CFG_CUSTOM_CONFIG_FILE_NAME=".bashlava_env_override.sh" | ||
|
||
### .bashlava_env_override.sh | ||
# APP_NAME="notset" | ||
# GITHUB_USER="notset" | ||
# APP_VERSION="0.0.1" | ||
|
||
### BRANCH NAMES | ||
CFG_DEFAULT_BRANCH="main" | ||
CFG_DEFAULT_DEV_BRANCH="edge" | ||
CFG_USER_IS="${USER}" | ||
|
||
### FUNCTION OPTIONS | ||
CFG_EDGE_EXTENTED="false" # #edge() not programmed yet. | ||
CFG_LOG_LINE_NBR_SHORT="4" # log() default line number. | ||
CFG_LOG_LINE_NBR_LONG="12" # log() default line number. | ||
|
||
### SOURCE /components | ||
#CFG_ARR_COMPONENTS_SCRIPTS | ||
#CFG_ARR_DOCS_MARKDOWN | ||
|
||
### DOCKER IMAGES | ||
DOCKER_IMG_FIGLET="devmtl/figlet:1.0" | ||
DOCKER_IMG_GLOW="devmtl/glow:1.4.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
# .bashlava_env_override.sh required by bashlava | ||
# part of .gitignore | ||
|
||
APP_NAME="bashlava" | ||
GITHUB_USER="firepress-org" | ||
APP_VERSION="1.43.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
private | ||
.bashlava_env_* | ||
.cache | ||
coverage | ||
dist | ||
node_modules | ||
npm-debug | ||
.git | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.