mirror of
https://github.com/ViViDboarder/drone-webdav.git
synced 2025-01-04 19:47:33 +00:00
24 lines
452 B
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
|