Add `all` make target for test and lint

This commit is contained in:
ViViDboarder 2020-05-19 13:52:36 -07:00
parent fd51a13a1c
commit 30febb63a3
1 changed files with 5 additions and 2 deletions

View File

@ -1,10 +1,10 @@
.PHONY: clean all
.PHONY: clean
.PHONY: default
default: test
.PHONY: test
test: check
test:
docker-compose -f ./tests/docker-compose-private.yml up \
--build --force-recreate \
--abort-on-container-exit --exit-code-from plugin
@ -18,3 +18,6 @@ install-hooks:
.PHONY: check
check:
pre-commit run --all-files
.PHONY: all
all: test check