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: fix exclude paths

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-09-06 19:40:02 +02:00
parent 4763760a1c
commit 77eac66d01
Signed by: adphi
GPG Key ID: 46BE4062DB2397FF

View File

@ -68,7 +68,7 @@ tests:
docs-up-to-date: docs-up-to-date:
@$(MAKE) cli-docs @$(MAKE) cli-docs
@git diff --quiet -- docs ':(exclude)docs/reference/d2vm_run_qemu.md' || (git --no-pager diff -- docs ':(exclude)docs/reference/d2vm_run_qemu.md'; echo "Please regenerate the documentation with 'make docs'"; exit 1) @git diff --quiet -- docs ':(exclude)docs/content/reference/d2vm_run_qemu.md' || (git --no-pager diff -- docs ':(exclude)docs/content/reference/d2vm_run_qemu.md'; 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)" = "" ]