fix(build): Add missing target for generating usage docs

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2025-01-04 14:08:22 +01:00
parent 7be25dd56f
commit 35da4eaae2

View File

@@ -76,9 +76,12 @@ completions-dir:
mkdir completions mkdir completions
completions/cunicu.%: completions-dir completions/cunicu.%: completions-dir
go run ./cmd/cunicu/ completion $* > $@ go run ./cmd/cunicu completion $* > $@
prepare: clean tidy generate lint completions docs:
go run ./cmd/cunicu docs --with-frontmatter --output-dir docs/usage
prepare: clean tidy generate lint completions docs
ci: ci:
CLICOLOR_FORCE=1 \ CLICOLOR_FORCE=1 \
@@ -91,4 +94,4 @@ clean:
find . -name "*.out" -exec rm {} \; find . -name "*.out" -exec rm {} \;
rm -rf cunicu test/logs/ completions/ rm -rf cunicu test/logs/ completions/
.PHONY: all cunicu tests tests-watch coverage clean lint install-deps completions prepare generate ci .PHONY: all cunicu tests tests-watch coverage clean lint install-deps completions prepare generate ci tidy docs