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

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

Issue 2177353002: Add top level app element (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@hello-oauth
Patch Set: Fix presubmits to ignore build files 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 » node_modules/.bin/http-server -p 8080 -a 127.0.0.1 13 » -wget -nc --output-document=./imp/botlist/bot-list-demo.json https://sto rage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json
14
15 » node_modules/.bin/http-server -p 9050 -a 127.0.0.1
14 16
15 17
16 .PHONY: vulcanize 18 .PHONY: vulcanize
17 vulcanize: 19 vulcanize:
18 » ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --out-html=./build/index-build.html index.html 20 » rm -f ./build/*
19 » ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --out-html=./build/botlist-build.html botlist.html 21 » ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --out-html=./build/elements.html elements.html
22 » cp ./bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/ webcomponents-lite.min.js
20 23
21 .PHONY: clean_vulcanize 24 .PHONY: dev_deploy
22 clean_vulcanize: default 25 dev_deploy: vulcanize
23 » rm -f ./build/*build.html 26 » ../tools/gae upl -A chromium-swarm-dev
24 » ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --out-html=./build/index-build.html index.html 27
25 » ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true -- strip-comments=true --out-html=./build/botlist-build.html botlist.html 28 .PHONY: deploy
29 deploy: vulcanize
30 » ../tools/gae upl -A chromium-swarm
31
32 .PHONY: local_deploy
33 local_deploy: vulcanize
34 » ../tools/start_servers.py
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698