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

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

Issue 12782016: Switch pkg packages, pub, and dartdoc to use package: imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 8 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/apidoc/apidoc.gyp ('k') | utils/pub/command_uploader.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 library command_lish; 5 library command_lish;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 import 'dart:json'; 9 import 'dart:json';
10 import 'dart:uri'; 10 import 'dart:uri';
11 11
12 import '../../pkg/args/lib/args.dart'; 12 import 'package:args/args.dart';
13 import '../../pkg/http/lib/http.dart' as http; 13 import 'package:http/http.dart' as http;
14 import '../../pkg/pathos/lib/path.dart' as path; 14 import 'package:pathos/path.dart' as path;
15
15 import 'directory_tree.dart'; 16 import 'directory_tree.dart';
16 import 'exit_codes.dart' as exit_codes; 17 import 'exit_codes.dart' as exit_codes;
17 import 'git.dart' as git; 18 import 'git.dart' as git;
18 import 'http.dart'; 19 import 'http.dart';
19 import 'io.dart'; 20 import 'io.dart';
20 import 'log.dart' as log; 21 import 'log.dart' as log;
21 import 'oauth2.dart' as oauth2; 22 import 'oauth2.dart' as oauth2;
22 import 'pub.dart'; 23 import 'pub.dart';
23 import 'utils.dart'; 24 import 'utils.dart';
24 import 'validator.dart'; 25 import 'validator.dart';
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 return confirm(message).then((confirmed) { 200 return confirm(message).then((confirmed) {
200 if (!confirmed) { 201 if (!confirmed) {
201 log.error("Package upload canceled."); 202 log.error("Package upload canceled.");
202 return false; 203 return false;
203 } 204 }
204 return true; 205 return true;
205 }); 206 });
206 }); 207 });
207 } 208 }
208 } 209 }
OLDNEW
« no previous file with comments | « utils/apidoc/apidoc.gyp ('k') | utils/pub/command_uploader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698