21 lines
367 B
Makefile
21 lines
367 B
Makefile
define HELP_TEXT
|
|
Welcome!
|
|
|
|
Targets:
|
|
help provides help text
|
|
legal prepends license to source code
|
|
generate generates code for client library
|
|
|
|
endef
|
|
export HELP_TEXT
|
|
|
|
help:
|
|
@echo "$$HELP_TEXT"
|
|
|
|
legal: .legal
|
|
.legal:
|
|
@addlicense -f ./legal/header.txt -skip yaml -skip yml .
|
|
|
|
generate:
|
|
@go run ./scripts/gen-readme | prettier --parser markdown > README.md
|