From 1cb8e3e612da8a071dbaad823f0f22f482f38979 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Wed, 19 Nov 2025 16:38:04 +0800 Subject: [PATCH] fix: better make help do not use uv Signed-off-by: yihong0618 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4ad71d0..7eb6c3c 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,6 @@ docs: ## Build and serve the documentation .PHONY: help help: - @uv run python -c "import re; \ - [[print(f'\033[36m{m[0]:<20}\033[0m {m[1]}') for m in re.findall(r'^([a-zA-Z_-]+):.*?## (.*)$$', open(makefile).read(), re.M)] for makefile in ('$(MAKEFILE_LIST)').strip().split()]" + @awk -F '## ' '/^[A-Za-z_-]+:.*##/ { target = $$1; sub(/:.*/, "", target); printf "\033[36m%-20s\033[0m %s\n", target, $$2 }' $(MAKEFILE_LIST) .DEFAULT_GOAL := help