mirror of
https://github.com/linka-cloud/d2vm.git
synced 2024-11-23 00:06:24 +00:00
tests: docs-up-to-date: show diff when failed
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
parent
f9aebd77d4
commit
e22f5710bd
2
Makefile
2
Makefile
@ -68,7 +68,7 @@ tests:
|
||||
|
||||
docs-up-to-date:
|
||||
@$(MAKE) docs
|
||||
@git diff --quiet docs || (echo "Please regenerate the documentation with 'make docs'"; exit 1)
|
||||
@git diff --quiet docs || (git --no-pager diff; echo "Please regenerate the documentation with 'make docs'"; exit 1)
|
||||
|
||||
check-fmt:
|
||||
@[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
|
||||
|
Loading…
Reference in New Issue
Block a user