From fd0628b5f565f24cf4145065e404bf5f40aa265f Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Fri, 17 Jan 2020 02:27:50 -0500 Subject: [PATCH] Dedup check command --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 22b8fd3d7..9abdcfc3e 100644 --- a/Makefile +++ b/Makefile @@ -106,9 +106,6 @@ compatibility-docs: bin/generate-syscall-docs upstream/gvisor/bazel-bin/runsc/li .PHONY: compatibility-docs check: check-markdown check-html - docker run \ - -v $(shell pwd)/public:/public gcr.io/gvisor-website/html-proofer:$(HTMLPROOFER_VERSION) \ - htmlproofer --disable-external --check-html public/static .PHONY: check check-markdown: node_modules $(CONTENT_SOURCE) compatibility-docs @@ -125,7 +122,9 @@ check-markdown: node_modules $(CONTENT_SOURCE) compatibility-docs .PHONY: check-markdown check-html: website - docker run -v $(shell pwd)/public:/public gcr.io/gvisor-website/html-proofer:3.10.2 htmlproofer --disable-external --check-html public/static + docker run \ + -v $(shell pwd)/public:/public gcr.io/gvisor-website/html-proofer:$(HTMLPROOFER_VERSION) \ + htmlproofer --disable-external --check-html public/static .PHONY: check-html # Run a local content development server. Redirects will not be supported.