From dcd0c19dafdbe33334c1481b233268006d668476 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Wed, 11 Apr 2018 09:57:22 -0700 Subject: [PATCH] Use full path to tox --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ac4430f..b41edb2 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ run: env .PHONY: test test: env - tox + ./env/bin/tox .PHONY: build build: test @@ -26,17 +26,19 @@ upload-test: env .PHONY: clean clean: rm -fr ./build ./minitor.egg-info ./htmlcov ./.coverage ./.pytest_cache ./.tox + find . -name '*.pyc' -delete + find . -name '__pycache__' -delete .PHONY: dist-clean dist-clean: clean - rm -fr ./dist + rm -fr ./dist ./env .PHONY: install-hooks install-hooks: - tox -e pre-commit -- install -f --install-hooks + ./env/bin/tox -e pre-commit -- install -f --install-hooks .coverage: - tox + ./env/bin/tox htmlcov/index.html: .coverage ./env/bin/coverage html