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

Side by Side Diff: utils/pub/pub.dart

Issue 10174029: Use YAML as the format for the pubspec file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review change Created 8 years, 7 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 | « utils/pub/package.dart ('k') | utils/tests/pub/pub_tests.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 // 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 /** 5 /**
6 * The main entrypoint for the pub command line application. 6 * The main entrypoint for the pub command line application.
7 */ 7 */
8 #library('pub'); 8 #library('pub');
9 9
10 #import('../yaml/yaml.dart');
11
10 #import('io.dart'); 12 #import('io.dart');
11 #import('utils.dart'); 13 #import('utils.dart');
12 14
13 #source('cache.dart'); 15 #source('cache.dart');
14 #source('command_list.dart'); 16 #source('command_list.dart');
15 #source('command_update.dart'); 17 #source('command_update.dart');
16 #source('package.dart'); 18 #source('package.dart');
17 19
18 Map<String, PubCommand> commands; 20 Map<String, PubCommand> commands;
19 PackageCache cache; 21 PackageCache cache;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 final CommandFunction function; 121 final CommandFunction function;
120 122
121 PubCommand(this.description, this.function); 123 PubCommand(this.description, this.function);
122 } 124 }
123 125
124 class PubOptions { 126 class PubOptions {
125 final String cacheDir; 127 final String cacheDir;
126 128
127 PubOptions(this.cacheDir); 129 PubOptions(this.cacheDir);
128 } 130 }
OLDNEW
« no previous file with comments | « utils/pub/package.dart ('k') | utils/tests/pub/pub_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698