summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-07-10 01:41:06 -0400
committerIan Lewis <ianlewis@google.com>2019-08-07 08:32:20 +0900
commit000ed17d48a09821c23eddac5087197fd1692e14 (patch)
tree64a648729d5b2a1805d3c9ae2b493d025ffbe7a3 /Makefile
parent41ac85ff2fbbf73af87284f018e30a671adfd127 (diff)
Add redirect from old URL.
- Adds url redirect from old syscall docs url to new url - make server now runs the Go server and implements redirects. - make devserver runs the hugo dev server.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8fcca3db5..5c54e87e5 100644
--- a/Makefile
+++ b/Makefile
@@ -64,10 +64,14 @@ compatibility-docs: bin/generate-syscall-docs upstream/gvisor/bazel-bin/runsc/li
.PHONY: compatibility-docs
# Run a local content development server. Redirects will not be supported.
-server: all-upstream compatibility-docs
+devserver: all-upstream compatibility-docs
$(HUGO) server -FD --port 8080
.PHONY: server
+server: website
+ cd public/ && go run main.go --custom-domain localhost
+.PHONY: server
+
# Deploy the website to App Engine.
deploy: $(APP_TARGET)
cd public && $(GCLOUD) app deploy