Add shellcheck target, drop default
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-10-26 18:04:14 +01:00
parent cc060b8546
commit 1b4258f1ea
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,4 @@
default: test
.PHONY: test docopt kcov codecov
.PHONY: test shellcheck docopt kcov codecov
test:
@docker run \
@ -9,6 +8,14 @@ test:
docker:dind \
apk add bats && bats test.bats
shellcheck:
@docker run \
-it \
--rm \
-v $$(pwd):/workdir \
koalaman/shellcheck-alpine \
shellcheck /workdir/abra
docopt:
@if [ ! -d ".venv" ]; then \
python3 -m venv .venv && \