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

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

Issue 2283133002: Add bot-page stubs (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Makefile should download demo json Created 4 years, 3 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 -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 -wget -nc --output-document=./res/imp/tasklist/task-list-fleet-data-demo .json https://raw.githubusercontent.com/wiki/luci/luci-py/task-list-fleet-data-d emo.json 16 -wget -nc --output-document=./res/imp/tasklist/task-list-fleet-data-demo .json https://raw.githubusercontent.com/wiki/luci/luci-py/task-list-fleet-data-d emo.json
17 -wget -nc --output-document=./res/imp/tasklist/task-tags-demo.json https ://raw.githubusercontent.com/wiki/luci/luci-py/task-tags-demo.json 17 -wget -nc --output-document=./res/imp/tasklist/task-tags-demo.json https ://raw.githubusercontent.com/wiki/luci/luci-py/task-tags-demo.json
18 18
19 -wget -nc --output-document=./res/imp/botpage/bot-demo.json https://raw. githubusercontent.com/wiki/luci/luci-py/bot-demo.json
20 -wget -nc --output-document=./res/imp/botpage/bot-events-demo.json https ://raw.githubusercontent.com/wiki/luci/luci-py/bot-events-demo.json
21 -wget -nc --output-document=./res/imp/botpage/bot-tasks-demo.json https: //raw.githubusercontent.com/wiki/luci/luci-py/bot-tasks-demo.json
22
19 node_modules/.bin/http-server -p 9050 23 node_modules/.bin/http-server -p 9050
20 24
21 25
22 .PHONY: vulcanize 26 .PHONY: vulcanize
23 vulcanize: default 27 vulcanize: default
24 rm -rf ./build/* 28 rm -rf ./build/*
25 mkdir ./build/js 29 mkdir ./build/js
26 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html 30 ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html
27 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 31 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
28 32
(...skipping 13 matching lines...) Expand all
42 deploy: vulcanize 46 deploy: vulcanize
43 ../tools/gae upl -A chromium-swarm 47 ../tools/gae upl -A chromium-swarm
44 48
45 .PHONY: local_deploy 49 .PHONY: local_deploy
46 local_deploy: vulcanize 50 local_deploy: vulcanize
47 ../tools/start_servers.py 51 ../tools/start_servers.py
48 52
49 .PHONY: debug_local_deploy 53 .PHONY: debug_local_deploy
50 debug_local_deploy: debug_build 54 debug_local_deploy: debug_build
51 ../tools/start_servers.py 55 ../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