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

Side by Side Diff: appengine/isolate/ui/Makefile

Issue 2991153002: Add stub for new polymer-based Isolate UI (Closed)
Patch Set: Address feedback Created 3 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/isolate/ui/.gitignore ('k') | appengine/isolate/ui/README.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2017 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file.
4
5 # Set up the local directory to run the demo pages.
6
7 default:
8 bower install
9
10 node_modules:
11 npm install
12
13 # Run a local HTTP server for the demo pages.
14 .PHONY: run
15 run: default
16 node_modules/.bin/http-server -p 9050
17
18 .PHONY: clean
19 clean:
20 rm -rf ./build/*
21 mkdir -p ./build/js
22
23 .PHONY: vulcanize
24 vulcanize: clean default
25 ./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
26 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
27
28 .PHONY: debug_build
29 debug_build: clean default
30 cp elements.html ./build/elements.html
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
32 ln -s ../res/imp/ ./build/
33
34 .PHONY: dev_deploy
35 dev_deploy: vulcanize
36 ../tools/gae upl -A isolateserver-dev
37
38 .PHONY: deploy
39 deploy: vulcanize
40 ../tools/gae upl -A isolateserver
41
42 .PHONY: local_deploy
43 local_deploy: vulcanize
44 ../tools/start_servers.py
45
46 .PHONY: debug_local_deploy
47 debug_local_deploy: debug_build
48 ../tools/start_servers.py
49
50 .PHONY: debug_dev_deploy
51 debug_dev_deploy: debug_build
52 ../tools/gae upl -A isolateserver-dev
OLDNEW
« no previous file with comments | « appengine/isolate/ui/.gitignore ('k') | appengine/isolate/ui/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698