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

Side by Side Diff: pkg/shadow_dom/tool/build.sh

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file.
5
6 # Usage: call directly in the commandline as test/run.sh ensuring that you have
7 # both 'dart' and 'content_shell' in your path. Filter tests by passing a
8 # pattern as an argument to this script.
9
10 # bail on error
11 set -e
12
13 DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
14 # Note: dartanalyzer and some tests needs to be run from the root directory
15 pushd $DIR > /dev/null
16
17 SHADOWDOM_REMOTE=https://github.com/dart-lang/ShadowDOM.git
18 SHADOWDOM_DIR=../../../third_party/polymer/ShadowDOM
19
20 echo "*** Syncing $SHADOWDOM_DIR from $SHADOWDOM_REMOTE"
21 if [ -d "$SHADOWDOM_DIR" ]; then
22 pushd $SHADOWDOM_DIR > /dev/null
23 git pull
24 popd
25 else
26 git clone --branch shadowdom_patches $SHADOWDOM_REMOTE $SHADOWDOM_DIR
27 fi
28
29 echo '*** Installing NPM prerequisites'
30 npm install
31
32 echo '*** Running grunt'
33 grunt
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698