 Chromium Code Reviews
 Chromium Code Reviews Issue 428313004:
  Support activating packages from local paths.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
    
  
    Issue 428313004:
  Support activating packages from local paths.  (Closed) 
  Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart| Index: sdk/lib/_internal/pub/test/global/activate/git_package_test.dart | 
| diff --git a/sdk/lib/_internal/pub/test/global/activate/git_package_test.dart b/sdk/lib/_internal/pub/test/global/activate/git_package_test.dart | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..81c3b132543c2161c1a2193f0aeb1fb1d20463f7 | 
| --- /dev/null | 
| +++ b/sdk/lib/_internal/pub/test/global/activate/git_package_test.dart | 
| @@ -0,0 +1,25 @@ | 
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 
| +// for details. All rights reserved. Use of this source code is governed by a | 
| +// BSD-style license that can be found in the LICENSE file. | 
| + | 
| +import '../../descriptor.dart' as d; | 
| +import '../../test_pub.dart'; | 
| + | 
| +main() { | 
| + initConfig(); | 
| + integration('activates a package from a git repo', () { | 
| + ensureGit(); | 
| + | 
| + d.git('foo.git', [ | 
| + d.libPubspec('foo', '1.0.0'), | 
| + d.dir("bin", [ | 
| + d.file("foo.dart", "main() => print('ok');") | 
| + ]) | 
| + ]).create(); | 
| + | 
| + schedulePub(args: ["global", "activate", "-sgit", "foo", "../foo.git"], | 
| 
nweiz
2014/07/31 20:01:54
Now I'm really confused. Where's the ref? What's t
 
Bob Nystrom
2014/08/04 23:41:51
Killing git support in this patch.
 | 
| + output: """ | 
| + Resolving dependencies... | 
| + Activated foo 1.0.0."""); | 
| + }); | 
| +} |