diff options
author | Ian Lewis <ianlewis@google.com> | 2020-01-17 02:27:50 -0500 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2020-01-17 02:27:50 -0500 |
commit | fd0628b5f565f24cf4145065e404bf5f40aa265f (patch) | |
tree | 685ae3678c0225e78da2c7cb805c6d1393aedfa9 | |
parent | 10ec43c775afaa49ca638cd2d411e975e06dbe78 (diff) |
Dedup check command
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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. |