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:
parent
2e27a9f2b2
commit
5049361f2f
2
Makefile
2
Makefile
@ -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)" = "" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user