drone-pre-commit/Makefile

20 lines
230 B
Makefile
Raw Normal View History

2020-09-08 17:00:20 +00:00
.PHONY: clean
.PHONY: default
default: test
.PHONY: test
test:
@echo noop
.PHONY: install-hooks
install-hooks:
pre-commit install --install-hooks
.PHONY: check
check:
pre-commit run --all-files
.PHONY: all
all: test check