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

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

Issue 2381853003: Add bot-page summary with utilization stats (Closed) Base URL: git@github.com:luci/luci-py@page-everywhere
Patch Set: rebase Created 4 years, 2 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.
(...skipping 19 matching lines...) Expand all
30 -wget -nc --output-document=./res/imp/stats/stats-overview-demo.json htt ps://raw.githubusercontent.com/wiki/luci/luci-py/stats/stats-overview-demo.json 30 -wget -nc --output-document=./res/imp/stats/stats-overview-demo.json htt ps://raw.githubusercontent.com/wiki/luci/luci-py/stats/stats-overview-demo.json
31 31
32 node_modules/.bin/http-server -p 9050 32 node_modules/.bin/http-server -p 9050
33 33
34 34
35 .PHONY: vulcanize 35 .PHONY: vulcanize
36 vulcanize: default 36 vulcanize: default
37 rm -rf ./build/* 37 rm -rf ./build/*
38 mkdir ./build/js 38 mkdir ./build/js
39 ./node_modules/.bin/vulcanize --inline-css --inline-scripts --strip-comm ents --abspath=./ elements.html | ./node_modules/.bin/html-minifier -o ./build/e lements.html --minify-css --minify-js --remove-comments --collapse-whitespace -- conservative-collapse 39 ./node_modules/.bin/vulcanize --inline-css --inline-scripts --strip-comm ents --abspath=./ elements.html | ./node_modules/.bin/html-minifier -o ./build/e lements.html --minify-css --minify-js --remove-comments --collapse-whitespace -- conservative-collapse
40 » 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 40 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./third_party/common-strings.js ./node_modules/skia-common-js/common.js ./res/j s/common.js ./res/js/alias.js | ./node_modules/.bin/uglifyjs -o ./build/js/js.js
41 41
42 .PHONY: debug_build 42 .PHONY: debug_build
43 debug_build: default 43 debug_build: default
44 rm -rf ./build/* 44 rm -rf ./build/*
45 mkdir ./build/js 45 mkdir ./build/js
46 cp elements.html ./build/elements.html 46 cp elements.html ./build/elements.html
47 » 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 47 » cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./third_party/common-strings.js ./node_modules/skia-common-js/common.js ./res/j s/common.js ./res/js/alias.js > ./build/js/js.js
48 ln --symbolic ../res/imp/ ./build/ 48 ln --symbolic ../res/imp/ ./build/
49 49
50 .PHONY: dev_deploy 50 .PHONY: dev_deploy
51 dev_deploy: vulcanize 51 dev_deploy: vulcanize
52 ../tools/gae upl -A chromium-swarm-dev 52 ../tools/gae upl -A chromium-swarm-dev
53 53
54 .PHONY: deploy 54 .PHONY: deploy
55 deploy: vulcanize 55 deploy: vulcanize
56 ../tools/gae upl -A chromium-swarm 56 ../tools/gae upl -A chromium-swarm
57 57
58 .PHONY: local_deploy 58 .PHONY: local_deploy
59 local_deploy: vulcanize 59 local_deploy: vulcanize
60 ../tools/start_servers.py 60 ../tools/start_servers.py
61 61
62 .PHONY: debug_local_deploy 62 .PHONY: debug_local_deploy
63 debug_local_deploy: debug_build 63 debug_local_deploy: debug_build
64 » ../tools/start_servers.py 64 » ../tools/start_servers.py
65
66 .PHONY: debug_dev_deploy
67 debug_dev_deploy: debug_build
68 » ../tools/gae upl -A chromium-swarm-dev
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698