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:
Hidde Beydals 2020-10-29 17:58:48 +01:00
parent 845d4acd8e
commit 56024de6cc

View file

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