rnystrom@google.com
b12e27a4d2
Get rid of join() and encapsulate File and Directory in io.dart.
...
Review URL: https://codereview.chromium.org//12253054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18551 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:13:07 +00:00
rnystrom@google.com
b3606c9047
Tweak SDK constraint checking a bit.
...
Review URL: https://codereview.chromium.org//12171002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18020 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:47:26 +00:00
rnystrom@google.com
b6d5dc7f5a
Make a bunch of stuff in pub synchronous.
...
Review URL: https://codereview.chromium.org//12079112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18019 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:30:16 +00:00
rnystrom@google.com
edf7ca2927
Add support for specifying SDK version constraints in pubspecs.
...
These constraints don't currently do anything, but these patch
gets them being parsed by pub.
Review URL: https://codereview.chromium.org//12038038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17477 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:41:40 +00:00
rnystrom@google.com
f053f356ee
Clean up code that locates SDK and SDK version.
...
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.
I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.
Review URL: https://codereview.chromium.org//11871028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17433 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:52:37 +00:00
floitsch@google.com
4a7dfd2da3
Big merge from experimental to bleeding edge.
...
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
rnystrom@google.com
182ae3e26c
Update pub to use new import syntax.
...
Review URL: https://codereview.chromium.org//11093012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13391 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 01:25:43 +00:00
rnystrom@google.com
88e331a795
Support dependencies in SDK packages.
...
Review URL: https://codereview.chromium.org//10947050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12816 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 22:49:05 +00:00
rnystrom@google.com
3317817025
Support both new and old style package layouts.
...
Update the tests to all use the new layout.
Review URL: https://chromiumcodereview.appspot.com//10916190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12224 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 21:55:47 +00:00
nweiz@google.com
e74b871e92
Support self-referential package: imports with Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10874051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11334 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 18:48:00 +00:00
rnystrom@google.com
17a941e040
Update pub to new getter syntax.
...
Review URL: https://chromiumcodereview.appspot.com//10869033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11270 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:41:47 +00:00
rnystrom@google.com
180df4ec25
Look for SDK packages in "pkg" in addition to "lib".
...
Review URL: https://chromiumcodereview.appspot.com//10857059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10912 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 18:04:42 +00:00
nweiz@google.com
223195ba79
Use environment variables to find the Dart SDK and the Pub cache directory.
...
Review URL: https://chromiumcodereview.appspot.com//10689169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9615 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 21:44:17 +00:00
nweiz@google.com
2c2583e304
Hook in the version solver to pub install.
...
Review URL: https://chromiumcodereview.appspot.com//10704172
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9604 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 18:47:31 +00:00
nweiz@google.com
b2ee421a78
Add support to the version solver for sources that only have a single version per package.
...
Review URL: https://chromiumcodereview.appspot.com//10690127
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9567 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 19:14:35 +00:00
rnystrom@google.com
e4ce65ae8f
Get rid of #source in pub.
...
Review URL: https://chromiumcodereview.appspot.com//10442023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7967 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 23:29:18 +00:00
rnystrom@google.com
20c48b237f
Get codebase ready for actually supporting versioning.
...
Review URL: https://chromiumcodereview.appspot.com//10399076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7776 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:14:18 +00:00
nweiz@google.com
3085912d01
Add support for pub install.
...
This CL does several things:
* Adds explicit infrastructure for package sources.
* Adds the Dart SDK as such a source.
* Adds an explicit class for managing the packages/ directory (AppCache, as
opposed to SystemCache).
* Adds an "install" command that installs to packages/, backed up by the system
cache.
Review URL: https://chromiumcodereview.appspot.com//10340005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7398 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 19:58:32 +00:00