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 .PHONY: test
test: env test: env
tox ./env/bin/tox
.PHONY: build .PHONY: build
build: test build: test
@ -26,17 +26,19 @@ upload-test: env
.PHONY: clean .PHONY: clean
clean: clean:
rm -fr ./build ./minitor.egg-info ./htmlcov ./.coverage ./.pytest_cache ./.tox rm -fr ./build ./minitor.egg-info ./htmlcov ./.coverage ./.pytest_cache ./.tox
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
.PHONY: dist-clean .PHONY: dist-clean
dist-clean: clean dist-clean: clean
rm -fr ./dist rm -fr ./dist ./env
.PHONY: install-hooks .PHONY: install-hooks
install-hooks: install-hooks:
tox -e pre-commit -- install -f --install-hooks ./env/bin/tox -e pre-commit -- install -f --install-hooks
.coverage: .coverage:
tox ./env/bin/tox
htmlcov/index.html: .coverage htmlcov/index.html: .coverage
./env/bin/coverage html ./env/bin/coverage html