summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-07-10 01:21:03 -0400
committerIan Lewis <ianlewis@google.com>2019-07-10 14:33:56 +0900
commit8a641256470955691d5851ffca9b4b890df8855c (patch)
treeee4c86c187397e42484ad566a5fc9189577544a2 /Makefile
parent6714bee53bbe6cdc3943e59f30ec7765907e80b0 (diff)
Copy app engine app files in cloudbuild
Fixes website deploy step
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index af41e99d5..8fcca3db5 100644
--- a/Makefile
+++ b/Makefile
@@ -14,9 +14,12 @@ APP_TARGET = $(patsubst cmd/gvisor-website/%,public/%,$(APP_SOURCE))
default: website
.PHONY: default
-website: all-upstream $(APP_TARGET) public/static
+website: all-upstream app public/static
.PHONY: website
+app: $(APP_TARGET)
+.PHONY: app
+
public:
mkdir -p public
@@ -56,9 +59,9 @@ bin/generate-syscall-docs: $(GEN_SOURCE)
mkdir -p bin/
go build -o bin/generate-syscall-docs gvisor.dev/website/cmd/generate-syscall-docs
-.PHONY: compatibility-docs
compatibility-docs: bin/generate-syscall-docs upstream/gvisor/bazel-bin/runsc/linux_amd64_pure_stripped/runsc
./upstream/gvisor/bazel-bin/runsc/linux_amd64_pure_stripped/runsc help syscalls -o json | ./bin/generate-syscall-docs -out ./content/docs/user_guide/compatibility/
+.PHONY: compatibility-docs
# Run a local content development server. Redirects will not be supported.
server: all-upstream compatibility-docs