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

Side by Side Diff: third_party/pkg/di/update.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 7 years 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
« third_party/pkg/README ('K') | « 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 "*** Syncing code"
14 GIT_REMOTE=https://github.com/angular/di.dart.git
15 GIT_DIR=di
16 git init
17 git add .
18 git commit -a -m 'adding current state of repo'
19 git remote add origin https://github.com/angular/di.dart
20 git pull --rebase origin master
Siggi Cherem (dart-lang) 2013/12/20 23:40:20 do we expect to have patches in this repo? if not,
blois 2013/12/21 00:00:12 Done.
21 REVISION=`git rev-parse HEAD`
22 rm -rf .git
23
24 echo "*** Generating static injector test files"
25 pub install
26 DART_SDK=../../../out/ReleaseIA32/dart-sdk
27 $DART_SDK/bin/dart \
28 --package-root=$DART_SDK/../packages/ \
29 bin/generator.dart \
30 $DART_SDK/ \
31 test/main.dart \
32 di.tests.Injectable \
33 test/type_factories_gen.dart \
34 packages/
35
36 echo "*** Cleaning up packages"
37 rm -rf packages
38
39 echo "*** Updated to revision $REVISION"
OLDNEW
« third_party/pkg/README ('K') | « 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