Skip to content

Commit

Permalink
bash-compiler 2.0.0 kcl refactoring - rebuilt binaries (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet authored Oct 13, 2024
1 parent cd5556f commit 7105f36
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docsify-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
./bin/doc --ci
- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
1 change: 0 additions & 1 deletion .jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"manualTests/**",
"pages/doc/**",
"pages/BestPractices.md",
"pages/CompileCommand.md",
"pages/Commands.md",
"pages/DockerUsage.md",
"pages/FrameworkDoc.md",
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repos:
- mdformat-gfm

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: mixed-line-ending
- id: end-of-file-fixer
Expand Down Expand Up @@ -80,7 +80,7 @@ repos:
)
- repo: https://github.com/rhysd/actionlint
rev: v1.7.2
rev: v1.7.3
hooks:
- id: actionlint
stages: [pre-commit, pre-push, manual]
Expand Down Expand Up @@ -194,6 +194,6 @@ repos:
stages: [manual] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: v1.1.0
rev: v2.0.0
hooks:
- id: buildBashBinaries
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ repos:
- mdformat-gfm

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: mixed-line-ending
- id: end-of-file-fixer
Expand Down Expand Up @@ -75,7 +75,7 @@ repos:
)
- repo: https://github.com/rhysd/actionlint
rev: v1.7.2
rev: v1.7.3
hooks:
- id: actionlint
stages: [pre-commit, pre-push, manual]
Expand Down Expand Up @@ -189,6 +189,6 @@ repos:
stages: [] # GITHUB

- repo: https://github.com/fchastanet/bash-compiler
rev: v1.1.0
rev: v2.0.0
hooks:
- id: buildBashBinaries
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ Here an excerpt of the namespaces available in Bash tools framework:
management
- Command::captureOutputAndExitCode calls a command capturing output and exit
code and displaying it also to error output to follow command's progress
- Compiler : various function used by `bin/compiler` script allowing to generate
binaries using the functions of this framework (see
[Compile command](doc/CompileCommand.md)).
- Conf : allows to manage the loading of .env file that contains configuration
used by some functions of this framework.
- Database : abstraction of several mysql queries, like:
Expand All @@ -156,8 +153,6 @@ Here an excerpt of the namespaces available in Bash tools framework:
- Dns : various methods like Dns::pingHost or allowing etc/hosts manipulation.
- Docker : various docker cli abstractions that allowed to construct
`bin/buildPushDockerImage` command.
- Embed : functions that allows `bin/compiler` to manage `EMBED directives` (see
[Compile command](doc/CompileCommand.md)).
- Env : functions allowing to load env variables or to alter them like
Env::pathAppend allowing to add a bin path to `PATH` variable
- File : files and file paths manipulations.
Expand Down
2 changes: 0 additions & 2 deletions bin/plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -1656,8 +1656,6 @@ plantumlCommandHelp() {
echo " Possible values: "
echo -e " - ${__OPTION_COLOR}svg${__RESET_COLOR}"
echo -e " - ${__OPTION_COLOR}png${__RESET_COLOR}"
Array::wrap2 ' ' 76 6 " Default value: " "png"
echo

echo -e " ${__HELP_OPTION_COLOR}--limit-size${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-l <LimitSize>${__HELP_NORMAL} {single}"
Array::wrap2 ' ' 76 4 " " "Define PLANTUML_LIMIT_SIZE" "use plantuml software default size if not provided" ""
Expand Down
6 changes: 1 addition & 5 deletions bin/shellcheckLint
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,6 @@ shellcheckLintCommandParse() {
# Option 16/16
# optionXargs alts --xargs
# type: Boolean min 0 max 1
# authorizedValues: checkstyle|diff
--xargs)
# shellcheck disable=SC2034
optionXargs="1"
Expand Down Expand Up @@ -1627,7 +1626,7 @@ shellcheckLintCommandHelp() {
echo

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

echo " Possible values: "
echo -e " - ${__OPTION_COLOR}checkstyle${__RESET_COLOR}"
echo -e " - ${__OPTION_COLOR}diff${__RESET_COLOR}"
# ------------------------------------------
# longDescription section
# ------------------------------------------
Expand Down
33 changes: 0 additions & 33 deletions doc/CompileCommand.md

This file was deleted.

1 change: 0 additions & 1 deletion pages/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

- [Home - Bash Tools Framework](/ "Bash Tools Framework")
- [Framework guides](doc/FrameworkGuidesIndex.md "explaining some main framework features")
- [Compile Command](doc/CompileCommand.md "compile your sh files as one file")
- [Commands](Commands.md "The greatest commands in the world")
- [Framework Full Documentation](FrameworkIndex.md "Bash Tools Framework documentation")
- [Bash Best Practices & Recipes](doc/BestPractices.md)
Expand Down
1 change: 0 additions & 1 deletion src/_binaries/plantuml/plantuml-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ binData:
authorizedValues:
- value: svg
- value: png
defaultValue: png
max: -1
min: 0
helpValueName: Format
Expand Down
5 changes: 1 addition & 4 deletions src/_binaries/shellcheckLint/shellcheckLint-binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ binData:
variableName: argShellcheckFiles
optionGroups:
shellcheckLintOptionGroup:
title: "OPTIONS:"
title: "SPECIFIC OPTIONS:"
options:
- alts:
- --format
Expand Down Expand Up @@ -78,9 +78,6 @@ binData:

- alts:
- --xargs
authorizedValues:
- value: checkstyle
- value: diff
group: shellcheckLintOptionGroup
help: uses parallelization(using xargs command) only if tty format
type: Boolean
Expand Down

0 comments on commit 7105f36

Please sign in to comment.