Add Makefile to run hooks

This commit is contained in:
ViViDboarder 2019-11-14 10:22:46 -08:00
parent 38ad9088cc
commit d7c9c80689
1 changed files with 11 additions and 0 deletions

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
.PHONY: default test clean all
default: test
# Installs pre-commit hooks
.PHONY: install-hooks
install-hooks:
pre-commit install --install-hooks
.PHONY: test
test:
pre-commit run --all-files