Initial commit
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Makefile for cleaning packaging files and directories
|
||||
|
||||
.PHONY: clean-package clean-build clean
|
||||
|
||||
# Clean distribution artifacts (dist/ and *.egg-info)
|
||||
clean-package:
|
||||
rm -rf dist
|
||||
rm -rf *.egg-info
|
||||
rm -rf src/*.egg-info
|
||||
|
||||
# Clean all Python build artifacts (dist, egg-info, pyc, and cache files)
|
||||
clean-build: clean-package
|
||||
find . -name "__pycache__" -type d -exec rm -rf {} +
|
||||
find . -name "*.pyc" -exec rm -f {} +
|
||||
find . -name "*.pyo" -exec rm -f {} +
|
||||
|
||||
# Alias to clean everything
|
||||
clean: clean-build
|
||||
Reference in New Issue
Block a user