Add shellcheck target, drop default
This commit is contained in:
parent
cc060b8546
commit
1b4258f1ea
11
Makefile
11
Makefile
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user