From 0192f329051c21dd5764ef287c1bd4558c1c9832 Mon Sep 17 00:00:00 2001 From: Adphi Date: Tue, 9 Aug 2022 20:16:04 +0200 Subject: [PATCH] Makefile: docs up-to-date test: only check docs directory Signed-off-by: Adphi --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 788f1a8..445ffcd 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ tests: @go generate ./... @go list ./...| xargs go test -exec sudo -count=1 -timeout 20m -v @$(MAKE) docs - @git diff --quiet || (echo "Please regenerate the documentation with 'make docs'"; exit 1) + @git diff --quiet docs || (echo "Please regenerate the documentation with 'make docs'"; exit 1) check-fmt: @[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]