Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: appengine/swarming/elements/Makefile

Issue 2182693002: Add new botlist for swarming (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@app-wrapper
Patch Set: Adjust font and layout a bit more Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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=./imp/botlist/bot-list-demo.json https://sto rage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json 13 » -wget -nc --output-document=./res/imp/botlist/bot-list-demo.json https:/ /storage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json
14 14
15 » node_modules/.bin/http-server -p 9050 -a 127.0.0.1 15 » node_modules/.bin/http-server -p 9050
16 16
17 17
18 .PHONY: vulcanize 18 .PHONY: vulcanize
19 vulcanize: default 19 vulcanize: default
20 rm -rf ./build/* 20 rm -rf ./build/*
21 mkdir ./build/js 21 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 22 ./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 23 cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js
24 cp ./res/js/common.js ./build/js/common.js
jcgregorio 2016/08/01 14:08:06 In a future CL this should be run through uglify-j
24 25
25 .PHONY: debug_build 26 .PHONY: debug_build
26 debug_build: default 27 debug_build: default
27 rm -rf ./build/* 28 rm -rf ./build/*
28 mkdir ./build/js 29 mkdir ./build/js
29 cp elements.html ./build/elements.html 30 cp elements.html ./build/elements.html
30 cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js 31 cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js
32 cp ./res/js/common.js ./build/js/common.js
31 ln --symbolic ../res/imp/ ./build/ 33 ln --symbolic ../res/imp/ ./build/
32 34
33 .PHONY: dev_deploy 35 .PHONY: dev_deploy
34 dev_deploy: vulcanize 36 dev_deploy: vulcanize
35 ../tools/gae upl -A chromium-swarm-dev 37 ../tools/gae upl -A chromium-swarm-dev
36 38
37 .PHONY: deploy 39 .PHONY: deploy
38 deploy: vulcanize 40 deploy: vulcanize
39 ../tools/gae upl -A chromium-swarm 41 ../tools/gae upl -A chromium-swarm
40 42
41 .PHONY: local_deploy 43 .PHONY: local_deploy
42 local_deploy: vulcanize 44 local_deploy: vulcanize
43 ../tools/start_servers.py 45 ../tools/start_servers.py
44 46
45 .PHONY: debug_local_deploy 47 .PHONY: debug_local_deploy
46 debug_local_deploy: debug_build 48 debug_local_deploy: debug_build
47 ../tools/start_servers.py 49 ../tools/start_servers.py
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698