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

Side by Side Diff: third_party/pkg/update_di.sh

Issue 107003007: Adding Angular's DI package & Dart unittests which test it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 12 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 | « third_party/pkg/di/test_tf_gen.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # bail on error
7 set -e
8
9 DIR=$( cd $( dirname "${BASH_SOURCE[0]}" ) && pwd )
10 echo $DIR
11 pushd $DIR > /dev/null
12
13 echo "*** Deleting old version"
14 rm -rf di
15
16 echo "*** Syncing code"
17 git clone https://github.com/angular/di.dart di
18
19 pushd di
20 REVISION=`git rev-parse HEAD`
21 rm -rf .git
22
23 echo "*** Generating static injector test files"
24 pub install
25 DART_SDK=../../../out/ReleaseIA32/dart-sdk
26 $DART_SDK/bin/dart \
27 --package-root=$DART_SDK/../packages/ \
28 bin/generator.dart \
29 $DART_SDK/ \
30 test/main.dart \
31 di.tests.Injectable \
32 test/type_factories_gen.dart \
33 packages/
34
35 echo "*** Cleaning up packages"
36 rm -rf packages
37
38 echo "*** Updated to revision $REVISION"
OLDNEW
« no previous file with comments | « third_party/pkg/di/test_tf_gen.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698