2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-23 00:06:24 +00:00

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 2e27a9f2b2
commit 5049361f2f
Signed by: adphi
GPG Key ID: F2159213400E50AB

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