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

Side by Side Diff: pkg/shadow_dom/tool/README.md

Issue 158083002: introduce web_components pkg for consolidated polyfills (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/shadow_dom/test/runner.min.html ('k') | pkg/shadow_dom/tool/build.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This folder contains the logic for building the shadow_dom package's
2 concatenated and minified JS files.
3
4 ## Prerequisites
5
6 Install nodejs and npm. On Debian based systems this is typically:
7
8 ```bash
9 sudo apt-get install nodejs
10 sudo apt-get install npm
11 ```
12 - Install grunt-cli:
13
14 ```bash
15 npm install -g grunt-cli
16 ```
17
18 See the Grunt [getting started](http://gruntjs.com/getting-started) page
19 for more information.
20
21 ## Building
22
23 Run shadow_dom/tool/build.sh (from any directory):
24
25 ```bash
26 ./build.sh
27 ```
28
29 ## (optional) How to integrate Polymer upstream changes
30
31 One time setup:
32
33 ```bash
34 # Note: this requires commit access to dart-lang/ShadowDOM.
35 # You can use your own fork instead if you like.
36 # Just use that URL here and edit build.sh to pull from there.
37 git clone -b shadowdom_patches https://github.com/dart-lang/ShadowDOM.git
38 cd ShadowDOM
39 git remote add upstream https://github.com/Polymer/ShadowDOM.git
40 ```
41
42 You can merge upstream changes by doing:
43
44 ```bash
45 # Check that we are in shadowdom_patches branch and don't have
46 # any pending changes.
47 git status
48
49 git fetch upstream
50 git merge upstream/master
51 git push origin shadowdom_patches
52 ```
OLDNEW
« no previous file with comments | « pkg/shadow_dom/test/runner.min.html ('k') | pkg/shadow_dom/tool/build.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698