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

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

Issue 2227803002: Mirror filters and sort preferences to url-params (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@use-dimensions
Patch Set: Tweak docs 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 | « no previous file | 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 15
16 node_modules/.bin/http-server -p 9050 16 node_modules/.bin/http-server -p 9050
17 17
18 18
19 .PHONY: vulcanize 19 .PHONY: vulcanize
20 vulcanize: default 20 vulcanize: default
21 rm -rf ./build/* 21 rm -rf ./build/*
22 mkdir ./build/js 22 mkdir ./build/js
23 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html 23 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html
24 » cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js 24 » 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 » ./node_modules/.bin/uglifyjs ./res/js/common.js -o ./build/js/common.js
26 25
27 .PHONY: debug_build 26 .PHONY: debug_build
28 debug_build: default 27 debug_build: default
29 rm -rf ./build/* 28 rm -rf ./build/*
30 mkdir ./build/js 29 mkdir ./build/js
31 cp elements.html ./build/elements.html 30 cp elements.html ./build/elements.html
32 » cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js 31 » 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
33 » cp ./res/js/common.js ./build/js/common.js
34 ln --symbolic ../res/imp/ ./build/ 32 ln --symbolic ../res/imp/ ./build/
35 33
36 .PHONY: dev_deploy 34 .PHONY: dev_deploy
37 dev_deploy: vulcanize 35 dev_deploy: vulcanize
38 ../tools/gae upl -A chromium-swarm-dev 36 ../tools/gae upl -A chromium-swarm-dev
39 37
40 .PHONY: deploy 38 .PHONY: deploy
41 deploy: vulcanize 39 deploy: vulcanize
42 ../tools/gae upl -A chromium-swarm 40 ../tools/gae upl -A chromium-swarm
43 41
44 .PHONY: local_deploy 42 .PHONY: local_deploy
45 local_deploy: vulcanize 43 local_deploy: vulcanize
46 ../tools/start_servers.py 44 ../tools/start_servers.py
47 45
48 .PHONY: debug_local_deploy 46 .PHONY: debug_local_deploy
49 debug_local_deploy: debug_build 47 debug_local_deploy: debug_build
50 ../tools/start_servers.py 48 ../tools/start_servers.py
OLDNEW
« no previous file with comments | « no previous file | appengine/swarming/elements/build/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698