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

Side by Side Diff: sdk/lib/_internal/pub/test/pub_test.dart

Issue 20204003: First stab at a dev server in pub using barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 4 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library pub_tests; 5 library pub_tests;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:scheduled_test/scheduled_test.dart'; 9 import 'package:scheduled_test/scheduled_test.dart';
10 10
(...skipping 17 matching lines...) Expand all
28 [solver] Show steps during version resolution. 28 [solver] Show steps during version resolution.
29 29
30 -v, --verbose Shortcut for "--verbosity=all". 30 -v, --verbose Shortcut for "--verbosity=all".
31 31
32 Available commands: 32 Available commands:
33 cache Inspect the system cache. 33 cache Inspect the system cache.
34 deploy Copy and compile all Dart entrypoints in the 'web' directory. 34 deploy Copy and compile all Dart entrypoints in the 'web' directory.
35 help Display help information for Pub. 35 help Display help information for Pub.
36 install Install the current package's dependencies. 36 install Install the current package's dependencies.
37 publish Publish the current package to pub.dartlang.org. 37 publish Publish the current package to pub.dartlang.org.
38 serve Run a local web development server.
38 update Update the current package's dependencies to the latest version s. 39 update Update the current package's dependencies to the latest version s.
39 uploader Manage uploaders for a package on pub.dartlang.org. 40 uploader Manage uploaders for a package on pub.dartlang.org.
40 version Print pub version. 41 version Print pub version.
41 42
42 Use "pub help [command]" for more information about a command. 43 Use "pub help [command]" for more information about a command.
43 """; 44 """;
44 45
45 final VERSION_STRING = ''' 46 final VERSION_STRING = '''
46 Pub 0.1.2+3 47 Pub 0.1.2+3
47 '''; 48 ''';
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // The "version" file generated on developer builds is a little funky and 171 // The "version" file generated on developer builds is a little funky and
171 // we need to make sure we don't choke on it. 172 // we need to make sure we don't choke on it.
172 d.dir(sdkPath, [ 173 d.dir(sdkPath, [
173 d.file('version', '0.1.2.0_r16279_bobross'), 174 d.file('version', '0.1.2.0_r16279_bobross'),
174 ]).create(); 175 ]).create();
175 176
176 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n"); 177 schedulePub(args: ['version'], output: "Pub 0.1.2+0.r16279.bobross\n");
177 }); 178 });
178 }); 179 });
179 } 180 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698