2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2024-11-29 02:56: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 ecd02424e1
commit 0192f32905
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF

View File

@ -66,7 +66,7 @@ tests:
@go generate ./... @go generate ./...
@go list ./...| xargs go test -exec sudo -count=1 -timeout 20m -v @go list ./...| xargs go test -exec sudo -count=1 -timeout 20m -v
@$(MAKE) docs @$(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: check-fmt:
@[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ] @[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]