2020-05-19 20:52:36 +00:00
|
|
|
.PHONY: clean
|
2020-05-19 01:08:06 +00:00
|
|
|
|
|
|
|
.PHONY: default
|
|
|
|
default: test
|
|
|
|
|
|
|
|
.PHONY: test
|
2020-05-19 20:52:36 +00:00
|
|
|
test:
|
2020-05-19 01:08:06 +00:00
|
|
|
docker-compose -f ./tests/docker-compose-private.yml up \
|
2020-05-19 02:06:17 +00:00
|
|
|
--build --force-recreate \
|
2020-05-19 01:08:06 +00:00
|
|
|
--abort-on-container-exit --exit-code-from plugin
|
|
|
|
docker-compose -f ./tests/docker-compose-public.yml up \
|
|
|
|
--abort-on-container-exit --exit-code-from plugin
|
2020-05-19 20:38:40 +00:00
|
|
|
|
|
|
|
.PHONY: install-hooks
|
|
|
|
install-hooks:
|
|
|
|
pre-commit install
|
|
|
|
|
|
|
|
.PHONY: check
|
|
|
|
check:
|
|
|
|
pre-commit run --all-files
|
2020-05-19 20:52:36 +00:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: test check
|