- Oct 28, 2015
-
-
Natalie Weizenbaum authored
When we tried to run a global script that didn't exist, we would try to load an AssetEnvironment, which would try to compute the transformers for it. Because the script doesn't exist, the computation would conservatively assume that all transformers had to run in case one of them generated it. To find all the scripts, it iterated through the package's dependencies. Since it's notionally the entrypoint, it tried to include its dev dependencies, but this broke because dev dependencies aren't installed for globally-activated packages. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1413713010 .
-
- Aug 31, 2015
-
-
Natalie Weizenbaum authored
Instead of relying only on modification times, this does a more complex compatibility check if the modification times of the pubspec, lockfile, and .packages file aren't ordered properly. If they are up-to-date, it updates the modification times accordingly. This also fixes a case where "pub run" wasn't properly checking that the dependencies were up-to-date. Closes #1322 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1307853004 .
-
- Aug 18, 2015
-
-
Natalie Weizenbaum authored
We were assuming that all globally-activated packages have a .packages file, but this isn't true for packages that were activated by earlier versions of pub. Closes #1316 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1292003005 .
-
- Aug 10, 2015
-
-
Natalie Weizenbaum authored
Previously, several commands automatically ran "pub get" implicitly before doing their work. We've determined that this behavior is confusing, and for "pub run" in particular, makes the executables seem much slower than they actually are. This also allows us to make access to the entrypoint's package graph synchronous. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1282533003 .
-
- Aug 06, 2015
-
-
Natalie Weizenbaum authored
Closes pub#22 R=rnystrom@google.com Review URL: https://codereview.chromium.org//1277773002 .
-
Bob Nystrom authored
Fixes #1230. R=nweiz@google.com Review URL: https://codereview.chromium.org//1272813003 .
-
Natalie Weizenbaum authored
This reverts commit 7fbc1040, which reverted commit dc626af3. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1272903002 .
-
- Aug 05, 2015
-
-
Natalie Weizenbaum authored
This reverts commit dc626af3. This broke due to dart-lang/sdk#23991. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1272833003 .
-
Natalie Weizenbaum authored
Previously this was using the packages/ directory, but that's no longer reliable since there's now an option to not generate it. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1269393003 .
-
- Jul 14, 2015
-
-
Natalie Weizenbaum authored
This is helpful for subprocesses to be able to spawn Dart with Platform.executableArguments and have that work regardless of the working directory. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1236973002 .
-
- Jun 30, 2015
-
-
Natalie Weizenbaum authored
Somehow I didn't notice that the test I added for this wasn't actually passing. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1211243009.
-
- Jun 29, 2015
-
-
Natalie Weizenbaum authored
When running an executable directly from the filesystem, "pub run" would sometimes fail to give it the correct package root. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1217923002.
-
- Jun 09, 2015
-
-
Natalie Weizenbaum authored
If all packages depended on by an executable don't use transformers, this will avoid loading barback entirely and instead run the VM against the Dart files on the filesystem. This shaves about 600ms off the load time for "pub run test" when running from source. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1166343002.
-
- May 14, 2015
-
-
nweiz@google.com authored
When the user presses Control-C on the terminal, it sends SIGINT to all processes in the process tree. However, this is *not* the case for other signals or signals sent via other means. As a compromise, "pub run" now manually forwards all signals other than SIGINT. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1060783002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@44902 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This is important for unittest, so it can catch SIGINT and gracefully clean up. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1044033003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@44820 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=22076 Review URL: https://codereview.chromium.org//899373002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@43737 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//868463003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@43057 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//601923004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40660 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
A package's executables may not use all of that package's transformers. This is especially true for browser frameworks where there's a clear divide between client-side and server-side code. This uses pub's existing dependency-sniffing infrastructure to figure out which transformers can be omitted. This takes "pub run polymer:new_element --help" from 1.52s to 0.96s. R=rnystrom@google.com BUG=20859 Review URL: https://codereview.chromium.org//599993004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40659 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=21018 R=nweiz@google.com Review URL: https://codereview.chromium.org//583193008 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40569 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
pub run now defaults to --mode=debug for local executables. R=rnystrom@google.com BUG=20898 Review URL: https://codereview.chromium.org//550643003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40384 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//548603002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39938 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//521643005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39933 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20483 Review URL: https://codereview.chromium.org//475093003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39787 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//494943002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39528 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com BUG=20482 Review URL: https://codereview.chromium.org//482053002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39424 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=19993 R=nweiz@google.com Review URL: https://codereview.chromium.org//396773003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38353 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
I also cleaned up a bunch of unused imports. BUG=https://code.google.com/p/dart/issues/detail?id=20067 R=nweiz@google.com Review URL: https://codereview.chromium.org//391363004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38352 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//372123002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@38102 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=18538 R=nweiz@google.com Review URL: https://codereview.chromium.org//354763006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@37963 260f80e4-7a28-3924-810f-c04153c831b5
-