Generate flag types (again?)

Closes #1381
This commit is contained in:
2022-05-01 23:02:05 -04:00
parent cbd9bd97e8
commit ed0033984b
32 changed files with 1304 additions and 516 deletions

40
Makefile Normal file
View File

@@ -0,0 +1,40 @@
# NOTE: this Makefile is meant to provide a simplified entry point for humans to
# run all of the critical steps to verify one's changes are harmonious in
# nature. Keeping target bodies to one line each and abstaining from make magic
# are very important so that maintainers and contributors can focus their
# attention on files that are primarily Go.
.PHONY: all
all: generate lint tag-test test check-bin tag-check-bin gfmrun toc
.PHONY: generate
generate:
go run internal/build/build.go generate
.PHONY: lint
lint:
go run internal/build/build.go vet
.PHONY: tag-test
tag-test:
go run internal/build/build.go -tags urfave_cli_no_docs test
.PHONY: test
test:
go run internal/build/build.go test
.PHONY: check-bin
check-bin:
go run internal/build/build.go check-binary-size
.PHONY: tag-check-bin
tag-check-bin:
go run internal/build/build.go -tags urfave_cli_no_docs check-binary-size
.PHONY: gfmrun
gfmrun:
go run internal/build/build.go gfmrun docs/v2/manual.md
.PHONY: toc
toc:
go run internal/build/build.go toc docs/v2/manual.md