From 0ab70f4c22bd72dd8e29a2406b72649cb52d0eb1 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Thu, 24 Sep 2020 21:57:40 -0400 Subject: [PATCH] Add removal of overlooked temp assets to clean make target Expand all flags to full version for future reference --- Makefile | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) 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