diff --git a/Makefile b/Makefile index e29e6d0..c654c01 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,5 @@ # tox-poetry-installer makefile -# You can set these variables from the command line -PROJECT = tox_poetry_installer - .PHONY: help # Put it first so that "make" without argument is like "make help" # Adapted from: @@ -11,19 +8,18 @@ help: ## List Makefile targets $(info Makefile documentation) @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-10s\033[0m %s\n", $$1, $$2}' -tox: clean - tox - clean-tox: - rm -rf ./.mypy_cache - rm -rf ./.tox - rm -f .coverage + rm --recursive --force ./.mypy_cache + rm --recursive --force ./.tox + rm --recursive --force tests/__pycache__/ + rm --recursive --force .pytest_cache/ + rm --force .coverage clean-py: - rm -rf ./dist - rm -rf ./build - rm -rf ./*.egg-info - rm -rf __pycache__/ + rm --recursive --force ./dist + rm --recursive --force ./build + rm --recursive --force ./*.egg-info + rm --recursive --force __pycache__/ clean: clean-tox clean-py; ## Clean temp build/cache files and directories @@ -34,4 +30,4 @@ source: ## Build Python source distribution package poetry build --format sdist test: ## Run the project testsuite(s) - poetry run tox -r + poetry run tox --recreate