Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2016 The LUCI Authors. All rights reserved. | 1 # Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Set up the local directory to run the demo pages. | 5 # Set up the local directory to run the demo pages. |
| 6 | 6 |
| 7 default: | 7 default: |
| 8 bower install | 8 bower install |
| 9 | 9 |
| 10 # Run a local HTTP server for the demo pages. | 10 # Run a local HTTP server for the demo pages. |
| 11 .PHONY: run | 11 .PHONY: run |
| 12 run: default | 12 run: default |
| 13 » -wget -nc --output-document=./res/imp/botlist/bot-list-demo.json https:/ /storage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json | 13 » # See gs://luci-demo-data/swarming/ for *demo.json |
|
jcgregorio
2016/08/08 16:14:42
I don't have access to that bucket. Is the data co
kjlubick
2016/08/08 19:07:10
It's not super protected - those json objects are
M-A Ruel
2016/08/08 19:31:23
Is it large? I'd rather have it committed if not.
| |
| 14 | |
| 15 node_modules/.bin/http-server -p 9050 | 14 node_modules/.bin/http-server -p 9050 |
| 16 | 15 |
| 17 | 16 |
| 18 .PHONY: vulcanize | 17 .PHONY: vulcanize |
| 19 vulcanize: default | 18 vulcanize: default |
| 20 rm -rf ./build/* | 19 rm -rf ./build/* |
| 21 mkdir ./build/js | 20 mkdir ./build/js |
| 22 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html | 21 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html |
| 23 cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js | 22 cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js |
| 24 ./node_modules/.bin/uglifyjs ./res/js/common.js -o ./build/js/common.js | 23 ./node_modules/.bin/uglifyjs ./res/js/common.js -o ./build/js/common.js |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 40 deploy: vulcanize | 39 deploy: vulcanize |
| 41 ../tools/gae upl -A chromium-swarm | 40 ../tools/gae upl -A chromium-swarm |
| 42 | 41 |
| 43 .PHONY: local_deploy | 42 .PHONY: local_deploy |
| 44 local_deploy: vulcanize | 43 local_deploy: vulcanize |
| 45 ../tools/start_servers.py | 44 ../tools/start_servers.py |
| 46 | 45 |
| 47 .PHONY: debug_local_deploy | 46 .PHONY: debug_local_deploy |
| 48 debug_local_deploy: debug_build | 47 debug_local_deploy: debug_build |
| 49 ../tools/start_servers.py | 48 ../tools/start_servers.py |
| OLD | NEW |