summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-01-17 02:27:50 -0500
committerIan Lewis <ianlewis@google.com>2020-01-17 02:27:50 -0500
commitfd0628b5f565f24cf4145065e404bf5f40aa265f (patch)
tree685ae3678c0225e78da2c7cb805c6d1393aedfa9 /Makefile
parent10ec43c775afaa49ca638cd2d411e975e06dbe78 (diff)
Dedup check command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files 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.