26 lines
440 B
Makefile
26 lines
440 B
Makefile
define HELP_TEXT
|
|
Welcome!
|
|
|
|
Targets:
|
|
help provides help text
|
|
deps resolve dependencies
|
|
lint lint source for errors or breaking changes
|
|
legal prepends license to source code
|
|
|
|
endef
|
|
export HELP_TEXT
|
|
|
|
help:
|
|
@echo "$$HELP_TEXT"
|
|
|
|
deps:
|
|
buf mod update
|
|
|
|
lint:
|
|
buf lint
|
|
addlicense -check -f ./legal/header.txt -skip yaml -skip yml -skip xml .
|
|
|
|
legal: .legal
|
|
.legal:
|
|
addlicense -f ./legal/header.txt -skip yaml -skip yml -skip xml .
|