From d7c9c80689e2ba7e4c1152a90f713d51c3eaf487 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Thu, 14 Nov 2019 10:22:46 -0800 Subject: [PATCH] Add Makefile to run hooks --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e011f65 --- /dev/null +++ b/Makefile @@ -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