File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ linter ?= go run github.com/golangci/golangci-lint/cmd/golangci-lint
1010# #@ Commands
1111
1212help : # # Display this help text
13- @awk -f makehelp.awk $( MAKEFILE_LIST )
13+ @./Makehelp Makefile
1414
1515
1616# ##@ Development
@@ -42,10 +42,6 @@ release-dryrun: tag ## same as release but local-only
4242
4343# ##@ Pipeline
4444
45- pipeline-validation : # # validatate the project
46- $(MAKE ) test
47- $(MAKE ) vet
48- $(MAKE ) build
45+ pipeline-validation : test vet build # # validatate the project
4946
50- pipeline-release : # # release the project
51- $(MAKE ) release
47+ pipeline-release : release # # release the project
Original file line number Diff line number Diff line change 1- #!/usr/bin/env awk
1+ #!/usr/bin/env -S awk -f
2+
3+ # Usage: Makehelp <MAKEFILE>
24
35# this script looks at the content of a given makefile
46# and generates a helptext based on its content.
@@ -25,7 +27,7 @@ BEGIN {
2527
2628# match sub-headings (###@ <heading>)
2729/^ ###@ / {
28- printf " \n\033 [0m%s:\033 [0m\n " , substr ($0 , 5 )
30+ printf " \n\033 [0m%s:\033 [0m\n " , substr ($0 , 6 )
2931}
3032
3133# match targets that contain a (target: ## <description>)
You can’t perform that action at this time.
0 commit comments