From c2559c04c1537e64ec0dfb62c7f9adaa9d9bb191 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 9 Apr 2018 17:26:32 -0700 Subject: [PATCH] Force tests before building --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ac6b584..f11638b 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ test: env tox .PHONY: build -build: env +build: test ./env/bin/python setup.py sdist ./env/bin/python setup.py bdist_wheel @@ -27,5 +27,6 @@ upload-test: env clean: rm -fr ./build ./dist ./minitor.egg-info +.PHONY: install-hooks install-hooks: tox -e pre-commit -- install -f --install-hooks