Get shellcheck working for the bin/ scripts
This commit is contained in:
parent
18f8ea982e
commit
2b0f691d5f
@ -6,6 +6,7 @@ steps:
|
|||||||
image: koalaman/shellcheck-alpine:v0.7.1
|
image: koalaman/shellcheck-alpine:v0.7.1
|
||||||
commands:
|
commands:
|
||||||
- shellcheck abra
|
- shellcheck abra
|
||||||
|
- shellcheck bin/*.sh
|
||||||
|
|
||||||
- name: run unit tests
|
- name: run unit tests
|
||||||
image: decentral1se/docker-dind-bats-kcov
|
image: decentral1se/docker-dind-bats-kcov
|
||||||
|
3
makefile
3
makefile
@ -21,7 +21,8 @@ shellcheck:
|
|||||||
--rm \
|
--rm \
|
||||||
-v $$(pwd):/workdir \
|
-v $$(pwd):/workdir \
|
||||||
koalaman/shellcheck-alpine \
|
koalaman/shellcheck-alpine \
|
||||||
shellcheck /workdir/abra
|
shellcheck /workdir/abra && \
|
||||||
|
shellsheck /workdir/bin/*.sh
|
||||||
|
|
||||||
docopt:
|
docopt:
|
||||||
@if [ ! -d ".venv" ]; then \
|
@if [ ! -d ".venv" ]; then \
|
||||||
|
Reference in New Issue
Block a user