mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-24 00:21:46 +00:00
Delete generated docs before regenerating them
This ensures no stray files are kept when for example a command name changes. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
845d4acd8e
commit
56024de6cc
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -22,6 +22,7 @@ install:
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
|
rm docs/cmd/*
|
||||||
mkdir -p ./docs/cmd && go run ./cmd/flux/ docgen
|
mkdir -p ./docs/cmd && go run ./cmd/flux/ docgen
|
||||||
|
|
||||||
install-dev:
|
install-dev:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue