e70b74ee29
ShadowDOM is at revision 82461fdbe7b0208960cf1d52f2b1c5ca31e1e564 observe-js is at revision 842f9c0602350f8d81ea20637266c2398575c77d WeakMap is at revision 67bd3b198a131748c73cd274532d69692f1a8c24 platform-dev is at revision 64a92f273462f04a84abbe2f054294f2b62dbcd6 R=sigmund@google.com Review URL: https://codereview.chromium.org//84163002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30593 260f80e4-7a28-3924-810f-c04153c831b5
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:
sudo apt-get install nodejs
sudo apt-get install npm
- Install grunt-cli:
npm install -g grunt-cli
See the Grunt getting started page for more information.
Building
Run shadow_dom/tool/build.sh (from any directory):
./build.sh
(optional) How to integrate Polymer upstream changes
One time setup:
# 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:
# 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