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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/command/deploy.dart

Issue 18356011: Rename "pathos" package to "path". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.command.deploy; 5 library pub.command.deploy;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:analyzer_experimental/analyzer.dart'; 10 import 'package:analyzer_experimental/analyzer.dart';
11 import 'package:pathos/path.dart' as path; 11 import 'package:path/path.dart' as path;
12 12
13 import '../command.dart'; 13 import '../command.dart';
14 import '../dart.dart' as dart; 14 import '../dart.dart' as dart;
15 import '../io.dart'; 15 import '../io.dart';
16 import '../log.dart' as log; 16 import '../log.dart' as log;
17 import '../utils.dart'; 17 import '../utils.dart';
18 18
19 final _arrow = getSpecial('\u2192', '=>'); 19 final _arrow = getSpecial('\u2192', '=>');
20 20
21 /// Handles the `deploy` pub command. 21 /// Handles the `deploy` pub command.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 /// Whether we should copy the browser package's JS files into the deployed 137 /// Whether we should copy the browser package's JS files into the deployed
138 /// app. 138 /// app.
139 bool get _shouldAddBrowserJs { 139 bool get _shouldAddBrowserJs {
140 return !_entrypoints.isEmpty && 140 return !_entrypoints.isEmpty &&
141 entrypoint.root.dependencies.any((dep) => 141 entrypoint.root.dependencies.any((dep) =>
142 dep.name == 'browser' && dep.source == 'hosted'); 142 dep.name == 'browser' && dep.source == 'hosted');
143 } 143 }
144 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698