Skip to content

Better shellcheck support #139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docker-build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Set environment variables
run: |
DOCKER_USERNAME=matejak
echo "::set-env name=DOCKER_USERNAME::$DOCKER_USERNAME"
echo "DOCKER_USERNAME=$DOCKER_USERNAME" >> $GITHUB_ENV

DOCKER_IMAGE="$DOCKER_USERNAME/argbash"
echo "::set-env name=DOCKER_IMAGE::$DOCKER_IMAGE"
echo "DOCKER_IMAGE=$DOCKER_IMAGE" >> $GITHUB_ENV

if [[ "$GITHUB_REF" = refs/tags/* ]]; then
version="${GITHUB_REF#refs/tags/}"
Expand All @@ -39,7 +39,7 @@ jobs:
DOCKER_TAGS="branch-$branch"
unset branch
fi
echo "::set-env name=DOCKER_TAGS::$DOCKER_TAGS"
echo "DOCKER_TAGS=$DOCKER_TAGS" >> $GITHUB_ENV
echo "The tags were set to '$DOCKER_TAGS'"

# This is a workaround due to
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ tests/regressiontests/test.sh

doc/_build
resources/packages/build
resources/examples/simple-standalone
resources/examples/simple-parsing
resources/examples/minimal.sh
resources/argbash.rst
resources/argbash.1.gz
37 changes: 37 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"cSpell.words": [
"ARGBASH",
"DELIM",
"FUNCNAME",
"SPURIONS",
"alnum",
"autom",
"browsable",
"changecom",
"chmod",
"commandline",
"defns",
"docopt",
"errstr",
"eval",
"fname",
"getopt",
"infile",
"infname",
"lolo",
"newerfile",
"outfile",
"outfname",
"positionals",
"posix",
"readlink",
"searchdir",
"shfile",
"sortof",
"srcfile",
"srcfiles",
"srcstem",
"thatfile",
"translit"
]
}
22 changes: 22 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Make Checks",
"type": "shell",
"command": "make check",
"options": {
"cwd": "${cwd}/resources"
}
}, {
"label": "Make Examples",
"type": "shell",
"command": "make examples",
"options": {
"cwd": "${cwd}/resources"
}
}
]
}
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ Conduitry <[email protected]>
Felipe Santos
Matěj Týč <[email protected]>
Stephen Gallagher <[email protected]>
Scott Atkins <[email protected]>
15 changes: 12 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
2.10.1 (TBA)
-------------------
Bugfixes:

* Warning during make install
* Typos and spelling mistakes
* Examples missing from build

New features:

* Compliant with optional checks for ShellCheck (most notably the require-variable-braces check)


2.10.0 (2020-09-22)
-------------------

Buxfixes:
Bugfixes:

* `argbash-init` is able to handle empty string as the only argument without being puzzled (#130).
* Error handling of script working directory detection now more robust (#134).
Expand All @@ -19,9 +28,9 @@ New features:
2.9.0 (2020-08-01)
------------------

Buxfixes:
Bugfixes:

* Fixed typo in `argbash-init` and updated obsolete/incaccurate hints (#97).
* Fixed typo in `argbash-init` and updated obsolete/inaccurate hints (#97).
* Fixed incorrect permission of non-script output files (#104).
* Increased MacOS compatibility by removing terminator from the `chmod` invocation (#107).

Expand Down
Loading