From 56024de6ccd4d78e833c417e0d3662aa78b72b5a Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 29 Oct 2020 17:58:48 +0100 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 32c16e42..3d4765bd 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ install: .PHONY: docs docs: + rm docs/cmd/* mkdir -p ./docs/cmd && go run ./cmd/flux/ docgen install-dev: