Skip to content

Commit abab601

Browse files
committed
re-add missing INFO_MESSAGE macro to Makefile
1 parent c3497a1 commit abab601

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

Makefile

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
.DEFAULT_GOAL := help
99
default: 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
2127
install: devready
2228
.PHONY: devready
2329
devready: ## 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
3036
build: ## 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
7480
clean: ## 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
7985
cleaner: 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
8793
cleanest: 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

Comments
 (0)