okit/Makefile

23 lines
420 B
Makefile
Raw Permalink Normal View History

2022-11-01 11:21:43 -05:00
CWD = $(shell pwd)
define HELP_TEXT
2022-12-14 10:23:55 -06:00
Welcome to okit!
2022-11-01 11:21:43 -05:00
Targets:
help provides help text
generate run code and documentation generation
2022-11-01 11:21:43 -05:00
endef
export HELP_TEXT
help:
@echo "$$HELP_TEXT"
# actual targets
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 .