mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-06 06:07:24 +02:00
Makefile: sort make commands and fix printing newlines
Updates #cleanup Change-Id: Ia101a4a3005adb9118051b3416f5a64a4a45987d Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
parent
d897d809d6
commit
0f15e44196
6
Makefile
6
Makefile
@ -138,8 +138,10 @@ generate: ## Generate code
|
||||
./tool/go generate ./...
|
||||
|
||||
help: ## Show this help
|
||||
@echo "\nSpecify a command. The choices are:\n"
|
||||
@grep -hE '^[0-9a-zA-Z_-]+:.*?## .*$$' ${MAKEFILE_LIST} | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-20s\033[m %s\n", $$1, $$2}'
|
||||
@echo ""
|
||||
@echo "Specify a command. The choices are:"
|
||||
@echo ""
|
||||
@grep -hE '^[0-9a-zA-Z_-]+:.*?## .*$$' ${MAKEFILE_LIST} | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[0;36m%-20s\033[m %s\n", $$1, $$2}'
|
||||
@echo ""
|
||||
.PHONY: help
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user