Use full path to tox

This commit is contained in:
IamTheFij 2018-04-11 09:57:22 -07:00
parent 9309ab1fd1
commit dcd0c19daf
1 changed files with 6 additions and 4 deletions

View File

@ -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