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

Unified 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: Address feedback and introduce new res/ layer of direction Created 4 years, 5 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/swarming/elements/.gitignore ('k') | appengine/swarming/elements/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/elements/Makefile
diff --git a/appengine/swarming/elements/Makefile b/appengine/swarming/elements/Makefile
index 74d491dc91635ea1351cf882ba153cdc88806c44..dbbdc40a8c97a32b586697d464c6baa9e3cd2d4b 100644
--- a/appengine/swarming/elements/Makefile
+++ b/appengine/swarming/elements/Makefile
@@ -10,16 +10,38 @@ default:
# Run a local HTTP server for the demo pages.
.PHONY: run
run: default
- node_modules/.bin/http-server -p 8080 -a 127.0.0.1
+ -wget -nc --output-document=./imp/botlist/bot-list-demo.json https://storage.googleapis.com/luci-demo-data/swarming/bot-list-demo.json
+
+ node_modules/.bin/http-server -p 9050 -a 127.0.0.1
.PHONY: vulcanize
-vulcanize:
- ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html
- ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html
-
-.PHONY: clean_vulcanize
-clean_vulcanize: default
- rm -f ./build/*build.html
- ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/index-build.html index.html
- ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --out-html=./build/botlist-build.html botlist.html
+vulcanize: default
+ rm -rf ./build/*
+ mkdir ./build/js
+ ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html
+ cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js
+
+.PHONY: debug_build
+debug_build: default
+ rm -rf ./build/*
+ mkdir ./build/js
+ cp elements.html ./build/elements.html
+ cp ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./build/js/webcomponents-lite.min.js
+ ln --symbolic ../res/imp/ ./build/
+
+.PHONY: dev_deploy
+dev_deploy: vulcanize
+ ../tools/gae upl -A chromium-swarm-dev
+
+.PHONY: deploy
+deploy: vulcanize
+ ../tools/gae upl -A chromium-swarm
+
+.PHONY: local_deploy
+local_deploy: vulcanize
+ ../tools/start_servers.py
+
+.PHONY: debug_local_deploy
+debug_local_deploy: debug_build
+ ../tools/start_servers.py
« no previous file with comments | « appengine/swarming/elements/.gitignore ('k') | appengine/swarming/elements/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698