summaryrefslogtreecommitdiffhomepage
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rw-r--r--website/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/website/Makefile b/website/Makefile
index 79236a34e..342d1d5a5 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -12,13 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-build:
+build: content/.jekyll-cache
@bazel run //runsc -- help syscalls -format json -filename $(PWD)/syscalls.json
@docker build -t gvisor-website .
@docker run -v $$PWD:/work -w /work gcr.io/cloud-builders/npm ci
@$(MAKE) update
.PHONY: build
+content/.jekyll-cache:
+ @mkdir -p $@ && chmod a+rw $@
+
lint:
@docker run -v $$PWD:/work -w /work gcr.io/cloud-builders/npm run lint-md
.PHONY: lint