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>
pull/396/head
Hidde Beydals 4 years ago
parent 845d4acd8e
commit 56024de6cc

@ -22,6 +22,7 @@ install:
.PHONY: docs
docs:
rm docs/cmd/*
mkdir -p ./docs/cmd && go run ./cmd/flux/ docgen
install-dev:

Loading…
Cancel
Save