From 1b4258f1eade76797a3d71ff3bf8d313b8171b88 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 26 Oct 2020 18:04:14 +0100 Subject: [PATCH] Add shellcheck target, drop default --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index df2c35b..558c415 100644 --- a/Makefile +++ b/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 && \