Skip to content

Commit 618e33d

Browse files
committed
move Makefile help recipe first, so that it shows as default.
1 parent 63a1d3a commit 618e33d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ ifeq ($(postgres), true)
2323
PG_FLAG := -f postgres
2424
endif
2525

26+
help:
27+
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
28+
2629
all: $(OUT)/bin/kupo \
2730
$(OUT)/share/zsh/site-functions/_kupo \
2831
$(OUT)/share/bash-completion/completions/kupo \
@@ -142,6 +145,3 @@ clean: # Remove build artifacts
142145

143146
clean-all: clean # Remove build artifacts & build cache
144147
cabal clean
145-
146-
help:
147-
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done

0 commit comments

Comments
 (0)