Skip to content

Commit

Permalink
Revert "Run "pub run" against the .packages file."
Browse files Browse the repository at this point in the history
This reverts commit dc626af.

This broke due to dart-lang/sdk#23991.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1272833003 .
  • Loading branch information
nex3 committed Aug 5, 2015
1 parent dc626af commit 7fbc104
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions lib/src/entrypoint.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ class Entrypoint {
/// The path to the entrypoint's "packages" directory.
String get packagesDir => root.path('packages');

/// The path to the entrypoint's ".packages" file.
String get packagesFile => root.path('.packages');

/// `true` if the entrypoint package currently has a lock file.
bool get lockFileExists => _lockFile != null || entryExists(lockFilePath);

Expand Down
2 changes: 1 addition & 1 deletion lib/src/executable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Future<int> runExecutable(Entrypoint entrypoint, String package,
// helpful for the subprocess to be able to spawn Dart with
// Platform.executableArguments and have that work regardless of the working
// directory.
vmArgs.add('--packages=${p.toUri(p.absolute(entrypoint.packagesFile))}');
vmArgs.add('--package-root=${p.toUri(p.absolute(entrypoint.packagesDir))}');
}

vmArgs.add(executableUrl.toString());
Expand Down

0 comments on commit 7fbc104

Please sign in to comment.