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

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

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 | « dart/pkg/shadow_dom/tool/build.json ('k') | dart/runtime/bin/builtin.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 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 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. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 # Usage: call directly in the commandline as test/run.sh ensuring that you have 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 7 # both 'dart' and 'content_shell' in your path. Filter tests by passing a
8 # pattern as an argument to this script. 8 # pattern as an argument to this script.
9 9
10 # bail on error 10 # bail on error
11 set -e 11 set -e
12 12
13 DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd ) 13 DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
14 pushd $DIR > /dev/null 14 pushd $DIR > /dev/null
15 15
16 POLYMER_REMOTE=https://github.com/Polymer 16 POLYMER_REMOTE=https://github.com/Polymer
17 POLYMER_DIR=../../../third_party/polymer 17 POLYMER_DIR=../../../third_party/polymer
18 18
19 for NAME in ShadowDOM observe-js WeakMap; do 19 NEWLINE=$'\n'
20 REVISIONS=""
21 for NAME in ShadowDOM observe-js WeakMap platform; do
20 GIT_REMOTE="$POLYMER_REMOTE/$NAME.git" 22 GIT_REMOTE="$POLYMER_REMOTE/$NAME.git"
21 GIT_DIR="$POLYMER_DIR/$NAME" 23 GIT_DIR="$POLYMER_DIR/$NAME"
22 echo "*** Syncing $GIT_DIR from $GIT_REMOTE" 24 echo "*** Syncing $GIT_DIR from $GIT_REMOTE"
23 if [ -d "$GIT_DIR" ]; then 25 if [ -d "$GIT_DIR" ]; then
24 pushd $GIT_DIR > /dev/null 26 pushd $GIT_DIR > /dev/null
25 git remote set-url origin $GIT_REMOTE 27 git remote set-url origin $GIT_REMOTE
26 git pull 28 git pull
27 popd 29 popd
28 else 30 else
29 git clone $GIT_REMOTE $GIT_DIR 31 git clone $GIT_REMOTE $GIT_DIR
30 fi 32 fi
33 pushd $GIT_DIR > /dev/null
34 REVISIONS="$REVISIONS $NEWLINE $NAME is at revision `git rev-parse HEAD`"
35 popd
31 done 36 done
32 37
33 echo '*** Installing NPM prerequisites' 38 echo '*** Installing NPM prerequisites'
34 npm install 39 npm install
35 40
36 echo '*** Running grunt' 41 echo '*** Running grunt'
37 grunt 42 grunt
43
44 echo "*** Revision hash to use in commit message: $REVISIONS"
OLDNEW
« no previous file with comments | « dart/pkg/shadow_dom/tool/build.json ('k') | dart/runtime/bin/builtin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698