drone-webdav/Makefile

24 lines
452 B
Makefile

.PHONY: clean
.PHONY: default
default: test
.PHONY: test
test:
docker-compose -f ./tests/docker-compose-private.yml up \
--build --force-recreate \
--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
.PHONY: install-hooks
install-hooks:
pre-commit install
.PHONY: check
check:
pre-commit run --all-files
.PHONY: all
all: test check