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

Unified Diff: pkg/shadow_dom/tool/README.md

Issue 23548014: update shadowdom polyfill to latest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated README, add build.sh Created 7 years, 3 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
Index: pkg/shadow_dom/tool/README.md
diff --git a/pkg/shadow_dom/tool/README.md b/pkg/shadow_dom/tool/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..b4ee42c941ed399db64f3fa6030ee7e89c576545
--- /dev/null
+++ b/pkg/shadow_dom/tool/README.md
@@ -0,0 +1,52 @@
+This folder contains the logic for building the shadow_dom package's
+concatenated and minified JS files.
+
+## Prerequisites
+
+Install nodejs and npm. On Debian based systems this is typically:
+
+```bash
+ sudo apt-get install nodejs
+ sudo apt-get install npm
+```
+- Install grunt-cli:
+
+```bash
+ npm install -g grunt-cli
+```
+
+See the Grunt [getting started](http://gruntjs.com/getting-started) page
+for more information.
+
+## Building
+
+Run shadow_dom/tool/build.sh (from any directory):
+
+```bash
+ ./build.sh
+```
+
+## (optional) How to integrate Polymer upstream changes
+
+One time setup:
+
+```bash
+ # Note: this requires commit access to dart-lang/ShadowDOM.
+ # You can use your own fork instead if you like.
+ # Just use that URL here and edit build.sh to pull from there.
+ git clone -b shadowdom_patches https://github.com/dart-lang/ShadowDOM.git
+ cd ShadowDOM
+ git remote add upstream https://github.com/Polymer/ShadowDOM.git
+```
+
+You can merge upstream changes by doing:
+
+```bash
+ # Check that we are in shadowdom_patches branch and don't have
+ # any pending changes.
+ git status
+
+ git fetch upstream
+ git merge upstream/master
+ git push origin shadowdom_patches
+```

Powered by Google App Engine
This is Rietveld 408576698