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

Unified Diff: extension/build.sh

Issue 11092092: Support compiling templates in the browser. Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years, 2 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 | « extension/background.js ('k') | extension/content_script.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extension/build.sh
diff --git a/extension/build.sh b/extension/build.sh
new file mode 100755
index 0000000000000000000000000000000000000000..762ac42f0bc956291cda6ff9179d53b602ebde56
--- /dev/null
+++ b/extension/build.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+# Extensions can't handle symlinks so we have to copy files to make everything
+# work.
+# TODO(jacobr): use "pub deploy" in the future instead of performing a copy.
+
+# Run from the script's directory
+cd $( dirname "${BASH_SOURCE[0]}" )
+# Bail on non-zero error code
+set -e
+
+# Remove old output, if
+rm -r output || true
+mkdir output
+cp -r ../packages output/
+cp -r ../bin output/
+cp -r ../lib output/
+cp *.html *.js *.json output/
« no previous file with comments | « extension/background.js ('k') | extension/content_script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698