Skip to content

Commit 7105f36

Browse files
authored
bash-compiler 2.0.0 kcl refactoring - rebuilt binaries (#113)
1 parent cd5556f commit 7105f36

File tree

11 files changed

+9
-59
lines changed

11 files changed

+9
-59
lines changed

.github/workflows/docsify-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
./bin/doc --ci
3838
3939
- name: Setup Pages
40-
uses: actions/configure-pages@v4
40+
uses: actions/configure-pages@v5
4141

4242
- name: Upload artifact
4343
uses: actions/upload-pages-artifact@v3

.jscpd.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"manualTests/**",
2727
"pages/doc/**",
2828
"pages/BestPractices.md",
29-
"pages/CompileCommand.md",
3029
"pages/Commands.md",
3130
"pages/DockerUsage.md",
3231
"pages/FrameworkDoc.md",

.pre-commit-config-github.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repos:
4242
- mdformat-gfm
4343

4444
- repo: https://github.com/pre-commit/pre-commit-hooks
45-
rev: v4.6.0
45+
rev: v5.0.0
4646
hooks:
4747
- id: mixed-line-ending
4848
- id: end-of-file-fixer
@@ -80,7 +80,7 @@ repos:
8080
)
8181
8282
- repo: https://github.com/rhysd/actionlint
83-
rev: v1.7.2
83+
rev: v1.7.3
8484
hooks:
8585
- id: actionlint
8686
stages: [pre-commit, pre-push, manual]
@@ -194,6 +194,6 @@ repos:
194194
stages: [manual] # GITHUB
195195

196196
- repo: https://github.com/fchastanet/bash-compiler
197-
rev: v1.1.0
197+
rev: v2.0.0
198198
hooks:
199199
- id: buildBashBinaries

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
- mdformat-gfm
3838

3939
- repo: https://github.com/pre-commit/pre-commit-hooks
40-
rev: v4.6.0
40+
rev: v5.0.0
4141
hooks:
4242
- id: mixed-line-ending
4343
- id: end-of-file-fixer
@@ -75,7 +75,7 @@ repos:
7575
)
7676
7777
- repo: https://github.com/rhysd/actionlint
78-
rev: v1.7.2
78+
rev: v1.7.3
7979
hooks:
8080
- id: actionlint
8181
stages: [pre-commit, pre-push, manual]
@@ -189,6 +189,6 @@ repos:
189189
stages: [] # GITHUB
190190

191191
- repo: https://github.com/fchastanet/bash-compiler
192-
rev: v1.1.0
192+
rev: v2.0.0
193193
hooks:
194194
- id: buildBashBinaries

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,6 @@ Here an excerpt of the namespaces available in Bash tools framework:
138138
management
139139
- Command::captureOutputAndExitCode calls a command capturing output and exit
140140
code and displaying it also to error output to follow command's progress
141-
- Compiler : various function used by `bin/compiler` script allowing to generate
142-
binaries using the functions of this framework (see
143-
[Compile command](doc/CompileCommand.md)).
144141
- Conf : allows to manage the loading of .env file that contains configuration
145142
used by some functions of this framework.
146143
- Database : abstraction of several mysql queries, like:
@@ -156,8 +153,6 @@ Here an excerpt of the namespaces available in Bash tools framework:
156153
- Dns : various methods like Dns::pingHost or allowing etc/hosts manipulation.
157154
- Docker : various docker cli abstractions that allowed to construct
158155
`bin/buildPushDockerImage` command.
159-
- Embed : functions that allows `bin/compiler` to manage `EMBED directives` (see
160-
[Compile command](doc/CompileCommand.md)).
161156
- Env : functions allowing to load env variables or to alter them like
162157
Env::pathAppend allowing to add a bin path to `PATH` variable
163158
- File : files and file paths manipulations.

bin/plantuml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,8 +1656,6 @@ plantumlCommandHelp() {
16561656
echo " Possible values: "
16571657
echo -e " - ${__OPTION_COLOR}svg${__RESET_COLOR}"
16581658
echo -e " - ${__OPTION_COLOR}png${__RESET_COLOR}"
1659-
Array::wrap2 ' ' 76 6 " Default value: " "png"
1660-
echo
16611659

16621660
echo -e " ${__HELP_OPTION_COLOR}--limit-size${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-l <LimitSize>${__HELP_NORMAL} {single}"
16631661
Array::wrap2 ' ' 76 4 " " "Define PLANTUML_LIMIT_SIZE" "use plantuml software default size if not provided" ""

bin/shellcheckLint

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,6 @@ shellcheckLintCommandParse() {
14411441
# Option 16/16
14421442
# optionXargs alts --xargs
14431443
# type: Boolean min 0 max 1
1444-
# authorizedValues: checkstyle|diff
14451444
--xargs)
14461445
# shellcheck disable=SC2034
14471446
optionXargs="1"
@@ -1627,7 +1626,7 @@ shellcheckLintCommandHelp() {
16271626
echo
16281627

16291628
echo
1630-
echo -e "${__HELP_TITLE_COLOR}OPTIONS:${__RESET_COLOR}"
1629+
echo -e "${__HELP_TITLE_COLOR}SPECIFIC OPTIONS:${__RESET_COLOR}"
16311630
echo -e " ${__HELP_OPTION_COLOR}--format${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-f <format>${__HELP_NORMAL} {single}"
16321631
Array::wrap2 ' ' 76 4 " " "define output format of this command"
16331632
echo
@@ -1652,9 +1651,6 @@ shellcheckLintCommandHelp() {
16521651
Array::wrap2 ' ' 76 4 " " "uses parallelization(using xargs command) only if tty format"
16531652
echo
16541653

1655-
echo " Possible values: "
1656-
echo -e " - ${__OPTION_COLOR}checkstyle${__RESET_COLOR}"
1657-
echo -e " - ${__OPTION_COLOR}diff${__RESET_COLOR}"
16581654
# ------------------------------------------
16591655
# longDescription section
16601656
# ------------------------------------------

doc/CompileCommand.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

pages/_sidebar.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
- [Home - Bash Tools Framework](/ "Bash Tools Framework")
44
- [Framework guides](doc/FrameworkGuidesIndex.md "explaining some main framework features")
5-
- [Compile Command](doc/CompileCommand.md "compile your sh files as one file")
65
- [Commands](Commands.md "The greatest commands in the world")
76
- [Framework Full Documentation](FrameworkIndex.md "Bash Tools Framework documentation")
87
- [Bash Best Practices & Recipes](doc/BestPractices.md)

src/_binaries/plantuml/plantuml-binary.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ binData:
4444
authorizedValues:
4545
- value: svg
4646
- value: png
47-
defaultValue: png
4847
max: -1
4948
min: 0
5049
helpValueName: Format

src/_binaries/shellcheckLint/shellcheckLint-binary.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ binData:
4848
variableName: argShellcheckFiles
4949
optionGroups:
5050
shellcheckLintOptionGroup:
51-
title: "OPTIONS:"
51+
title: "SPECIFIC OPTIONS:"
5252
options:
5353
- alts:
5454
- --format
@@ -78,9 +78,6 @@ binData:
7878

7979
- alts:
8080
- --xargs
81-
authorizedValues:
82-
- value: checkstyle
83-
- value: diff
8481
group: shellcheckLintOptionGroup
8582
help: uses parallelization(using xargs command) only if tty format
8683
type: Boolean

0 commit comments

Comments
 (0)