diff options
author | Ian Lewis <ianmlewis@gmail.com> | 2019-07-10 01:41:06 -0400 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2019-08-07 08:32:20 +0900 |
commit | 000ed17d48a09821c23eddac5087197fd1692e14 (patch) | |
tree | 64a648729d5b2a1805d3c9ae2b493d025ffbe7a3 /Makefile | |
parent | 41ac85ff2fbbf73af87284f018e30a671adfd127 (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-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |