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

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

Issue 2269643002: Extract shared filters and aliasing code (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Address nit 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
« no previous file with comments | « appengine/swarming/app.yaml ('k') | appengine/swarming/elements/build/elements.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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=./res/imp/botlist/bot-list-demo.json https:/ /raw.githubusercontent.com/wiki/luci/luci-py/bot-list-demo.json 13 -wget -nc --output-document=./res/imp/botlist/bot-list-demo.json https:/ /raw.githubusercontent.com/wiki/luci/luci-py/bot-list-demo.json
14 -wget -nc --output-document=./res/imp/botlist/bot-list-fleet-data-demo.j son https://raw.githubusercontent.com/wiki/luci/luci-py/bot-list-fleet-data-demo .json 14 -wget -nc --output-document=./res/imp/botlist/bot-list-fleet-data-demo.j son https://raw.githubusercontent.com/wiki/luci/luci-py/bot-list-fleet-data-demo .json
15 -wget -nc --output-document=./res/imp/tasklist/task-list-demo.json https ://raw.githubusercontent.com/wiki/luci/luci-py/task-list-demo.json 15 -wget -nc --output-document=./res/imp/tasklist/task-list-demo.json https ://raw.githubusercontent.com/wiki/luci/luci-py/task-list-demo.json
16 16
17 node_modules/.bin/http-server -p 9050 17 node_modules/.bin/http-server -p 9050
18 18
19 19
20 .PHONY: vulcanize 20 .PHONY: vulcanize
21 vulcanize: default 21 vulcanize: default
22 rm -rf ./build/* 22 rm -rf ./build/*
23 mkdir ./build/js 23 mkdir ./build/js
24 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html 24 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html
25 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js | ./node_modules/.bi n/uglifyjs -o ./build/js/js.js 25 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js ./res/js/alias.js | ./node_modules/.bin/uglifyjs -o ./build/js/js.js
26 26
27 .PHONY: debug_build 27 .PHONY: debug_build
28 debug_build: default 28 debug_build: default
29 rm -rf ./build/* 29 rm -rf ./build/*
30 mkdir ./build/js 30 mkdir ./build/js
31 cp elements.html ./build/elements.html 31 cp elements.html ./build/elements.html
32 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js > ./build/js/js.js 32 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js ./res/js/alias.js > ./build/js/js.js
33 ln --symbolic ../res/imp/ ./build/ 33 ln --symbolic ../res/imp/ ./build/
34 34
35 .PHONY: dev_deploy 35 .PHONY: dev_deploy
36 dev_deploy: vulcanize 36 dev_deploy: vulcanize
37 ../tools/gae upl -A chromium-swarm-dev 37 ../tools/gae upl -A chromium-swarm-dev
38 38
39 .PHONY: deploy 39 .PHONY: deploy
40 deploy: vulcanize 40 deploy: vulcanize
41 ../tools/gae upl -A chromium-swarm 41 ../tools/gae upl -A chromium-swarm
42 42
43 .PHONY: local_deploy 43 .PHONY: local_deploy
44 local_deploy: vulcanize 44 local_deploy: vulcanize
45 ../tools/start_servers.py 45 ../tools/start_servers.py
46 46
47 .PHONY: debug_local_deploy 47 .PHONY: debug_local_deploy
48 debug_local_deploy: debug_build 48 debug_local_deploy: debug_build
49 ../tools/start_servers.py 49 ../tools/start_servers.py
OLDNEW
« no previous file with comments | « appengine/swarming/app.yaml ('k') | appengine/swarming/elements/build/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698