2020-05-19 13:52:36 -07:00
|
|
|
.PHONY: clean
|
2020-05-18 18:08:06 -07:00
|
|
|
|
|
|
|
.PHONY: default
|
|
|
|
default: test
|
|
|
|
|
|
|
|
.PHONY: test
|
2020-05-19 13:52:36 -07:00
|
|
|
test:
|
2020-05-18 18:08:06 -07:00
|
|
|
docker-compose -f ./tests/docker-compose-private.yml up \
|
2020-05-18 19:06:17 -07:00
|
|
|
--build --force-recreate \
|
2020-05-18 18:08:06 -07: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 13:38:40 -07:00
|
|
|
|
|
|
|
.PHONY: install-hooks
|
|
|
|
install-hooks:
|
|
|
|
pre-commit install
|
|
|
|
|
|
|
|
.PHONY: check
|
|
|
|
check:
|
|
|
|
pre-commit run --all-files
|
2020-05-19 13:52:36 -07:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: test check
|