Chromium Code Reviews| Index: appengine/swarming/elements/Makefile |
| diff --git a/appengine/swarming/elements/Makefile b/appengine/swarming/elements/Makefile |
| index 74d491dc91635ea1351cf882ba153cdc88806c44..34066cbef4b385e6cda9b777e510226d82d0e23f 100644 |
| --- a/appengine/swarming/elements/Makefile |
| +++ b/appengine/swarming/elements/Makefile |
| @@ -10,16 +10,26 @@ default: |
| # Run a local HTTP server for the demo pages. |
| .PHONY: run |
| run: default |
| - node_modules/.bin/http-server -p 8080 -a 127.0.0.1 |
| + -wget -nc --output-document=./imp/botlist/bot-list-demo.json https://storage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json |
| + |
| + node_modules/.bin/http-server -p 9050 -a 127.0.0.1 |
| .PHONY: vulcanize |
| vulcanize: |
| ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html |
| - ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html |
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist-index.html |
| .PHONY: clean_vulcanize |
| clean_vulcanize: default |
| rm -f ./build/*build.html |
| ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html |
|
jcgregorio
2016/07/26 12:55:09
Instead of vulcanizing index.html and botlist-inde
kjlubick
2016/07/26 13:56:00
Done. The elements is served out of /res/elements
|
| - ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html |
| + ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist-index.html |
| + |
| +.PHONY: dev_deploy |
| +dev_deploy: clean_vulcanize |
| + ../tools/gae upl -A chromium-swarm-dev |
| + |
| +.PHONY: deploy |
| +deploy: clean_vulcanize |
| + ../tools/gae upl -A chromium-swarm |