Skip to content

Commit 236856b

Browse files
committed
frontend/Makefile: order help command output alphabetically
1 parent c4b5581 commit 236856b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
.PHONY: help
44
help: ## Display this help message
55
@echo "Frontend Makefile - Available targets:"
6-
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
6+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | \
7+
awk 'BEGIN {FS = ":.*?## "}; \
8+
{printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
79

810
.PHONY: install
911
install: ## Install npm dependencies

0 commit comments

Comments
 (0)