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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/isolate/ui/.gitignore ('k') | appengine/isolate/ui/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/isolate/ui/Makefile
diff --git a/appengine/isolate/ui/Makefile b/appengine/isolate/ui/Makefile
new file mode 100644
index 0000000000000000000000000000000000000000..44be39c567f9bee45a07216e695574fb0d2ce252
--- /dev/null
+++ b/appengine/isolate/ui/Makefile
@@ -0,0 +1,52 @@
+# Copyright 2017 The LUCI Authors. All rights reserved.
+# Use of this source code is governed by the Apache v2.0 license that can be
+# found in the LICENSE file.
+
+# Set up the local directory to run the demo pages.
+
+default:
+ bower install
+
+node_modules:
+ npm install
+
+# Run a local HTTP server for the demo pages.
+.PHONY: run
+run: default
+ node_modules/.bin/http-server -p 9050
+
+.PHONY: clean
+clean:
+ rm -rf ./build/*
+ mkdir -p ./build/js
+
+.PHONY: vulcanize
+vulcanize: clean default
+ ./node_modules/.bin/vulcanize --inline-css --inline-scripts --strip-comments --abspath=./ elements.html | ./node_modules/.bin/html-minifier -o ./build/elements.html --minify-css --minify-js --remove-comments --collapse-whitespace --conservative-collapse
+ cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js | ./node_modules/.bin/uglifyjs -o ./build/js/js.js
+
+.PHONY: debug_build
+debug_build: clean default
+ cp elements.html ./build/elements.html
+ 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
+ ln -s ../res/imp/ ./build/
+
+.PHONY: dev_deploy
+dev_deploy: vulcanize
+ ../tools/gae upl -A isolateserver-dev
+
+.PHONY: deploy
+deploy: vulcanize
+ ../tools/gae upl -A isolateserver
+
+.PHONY: local_deploy
+local_deploy: vulcanize
+ ../tools/start_servers.py
+
+.PHONY: debug_local_deploy
+debug_local_deploy: debug_build
+ ../tools/start_servers.py
+
+.PHONY: debug_dev_deploy
+debug_dev_deploy: debug_build
+ ../tools/gae upl -A isolateserver-dev
« 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