2022-11-01 11:21:43 -05:00
|
|
|
CWD = $(shell pwd)
|
|
|
|
|
|
|
|
define HELP_TEXT
|
|
|
|
Welcome to obkit!
|
|
|
|
|
|
|
|
Targets:
|
|
|
|
help provides help text
|
2022-11-02 15:16:48 -05:00
|
|
|
generate run code and documentation generation
|
2022-11-01 11:21:43 -05:00
|
|
|
|
|
|
|
endef
|
|
|
|
export HELP_TEXT
|
|
|
|
|
|
|
|
help:
|
|
|
|
@echo "$$HELP_TEXT"
|
|
|
|
|
|
|
|
# actual targets
|
|
|
|
|
2022-11-02 15:16:48 -05:00
|
|
|
generate:
|
|
|
|
go run tools/gen-tags/main.go -out tags.go
|
|
|
|
addlicense -f cmd/okit/legal/header.txt cmd/okit/
|
|
|
|
addlicense -f cmd/okitd/legal/header.txt cmd/okitd/
|
|
|
|
addlicense -f legal/header.txt .
|