Makefile: docs up-to-date test: only check docs directory

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-08-09 20:16:04 +02:00
parent ecd02424e1
commit 0192f32905
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF
1 changed files with 1 additions and 1 deletions

View File

@ -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)" = "" ]