mirror of
				https://github.com/enpaul/tox-poetry-installer.git
				synced 2025-11-04 07:46:06 +00:00 
			
		
		
		
	Add removal of overlooked temp assets to clean make target
Expand all flags to full version for future reference
This commit is contained in:
		
							
								
								
									
										24
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,8 +1,5 @@
 | 
				
			|||||||
# tox-poetry-installer makefile
 | 
					# tox-poetry-installer makefile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# You can set these variables from the command line
 | 
					 | 
				
			||||||
PROJECT = tox_poetry_installer
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
.PHONY: help
 | 
					.PHONY: help
 | 
				
			||||||
# Put it first so that "make" without argument is like "make help"
 | 
					# Put it first so that "make" without argument is like "make help"
 | 
				
			||||||
# Adapted from:
 | 
					# Adapted from:
 | 
				
			||||||
@@ -11,19 +8,18 @@ help: ## List Makefile targets
 | 
				
			|||||||
	$(info Makefile documentation)
 | 
						$(info Makefile documentation)
 | 
				
			||||||
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-10s\033[0m %s\n", $$1, $$2}'
 | 
						@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:
 | 
					clean-tox:
 | 
				
			||||||
	rm -rf ./.mypy_cache
 | 
						rm --recursive --force ./.mypy_cache
 | 
				
			||||||
	rm -rf ./.tox
 | 
						rm --recursive --force ./.tox
 | 
				
			||||||
	rm -f .coverage
 | 
						rm --recursive --force tests/__pycache__/
 | 
				
			||||||
 | 
						rm --recursive --force .pytest_cache/
 | 
				
			||||||
 | 
						rm --force .coverage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean-py:
 | 
					clean-py:
 | 
				
			||||||
	rm -rf ./dist
 | 
						rm --recursive --force ./dist
 | 
				
			||||||
	rm -rf ./build
 | 
						rm --recursive --force ./build
 | 
				
			||||||
	rm -rf ./*.egg-info
 | 
						rm --recursive --force ./*.egg-info
 | 
				
			||||||
	rm -rf __pycache__/
 | 
						rm --recursive --force __pycache__/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
clean: clean-tox clean-py; ## Clean temp build/cache files and directories
 | 
					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
 | 
						poetry build --format sdist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
test: ## Run the project testsuite(s)
 | 
					test: ## Run the project testsuite(s)
 | 
				
			||||||
	poetry run tox -r
 | 
						poetry run tox --recreate
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user