88.DEFAULT_GOAL := help
99default : help
1010
11+ COLOR_RESET =\033[0m
12+ COLOR_CYAN_BOLD =\033[1;36m
13+ define INFO_MESSAGE
14+ @echo "⏩$(COLOR_CYAN_BOLD )$(1 )$(COLOR_RESET ) "
15+ endef
16+
1117# ###########################################################################
1218# = BASIC USAGE
1319
@@ -21,14 +27,14 @@ help: ## Display help message
2127install : devready
2228.PHONY : devready
2329devready : # # Prepare local dev env: Create virtual env, install the pre-commit hooks
24- $(call INFO_MESSAGE, "⚙️ Prepare local dev env: Create virtual env and install the pre-commit hooks")
30+ $(call INFO_MESSAGE, "Prepare local dev env: Create virtual env and install the pre-commit hooks")
2531 uv sync --dev
2632 uv run pre-commit install
2733 @echo ' ⚠️ Activate the virtual env with `source .venv/bin/activate`'
2834
2935.PHONY : build
3036build : # # Build package
31- $(call INFO_MESSAGE, "🛠️ Build package")
37+ $(call INFO_MESSAGE, "Build package")
3238 rm -fr dist
3339 uv build
3440
@@ -72,20 +78,20 @@ docs-test: ## Test if documentation can be built without warnings or errors
7278
7379.PHONY : clean
7480clean : # # Remove temporary and backup files
75- $(call INFO_MESSAGE, "🧹 Remove temporary and backup files")
81+ $(call INFO_MESSAGE, "Remove temporary and backup files")
7682 find . \( -name " *~" -o -name " *.bak" \) -exec rm -frv {} +
7783
7884.PHONY : cleaner
7985cleaner : clean # # Remove files and directories that are easily rebuilt
80- $(call INFO_MESSAGE, "🗑️ Remove files and directories that are easily rebuilt")
86+ $(call INFO_MESSAGE, "Remove files and directories that are easily rebuilt")
8187 rm -frv .cache .DS_Store .pytest_cache .ruff_cache build coverage.xml dist docs/_build site
8288 find . \( -name __pycache__ -type d \) -exec rm -frv {} +
8389 find . \( -name " *.pyc" -o -name " *.egg-info" \) -exec rm -frv {} +
8490 find . \( -name " *.orig" -o -name " *.rej" \) -exec rm -frv {} +
8591
8692.PHONY : cleanest
8793cleanest : cleaner # # Remove files and directories that can be rebuilt
88- $(call INFO_MESSAGE, "🗑️🔥 Remove files and directories that can be rebuilt")
94+ $(call INFO_MESSAGE, "Remove files and directories that can be rebuilt")
8995 rm -frv .eggs .tox .venv venv
9096
9197.PHONY : distclean
0 commit comments