nweiz@google.com
0db73f5236
Add a "help" command to Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10805017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9765 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 18:10:39 +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
b0885dcd7a
Make pub handle missing git more gracefully.
...
- Put in place the basics for reporting errors to the user.
- If you try to install a git package without git installed, you will get
a nice error.
- Don't run git-related pub tests locally if the user doesn't have git
installed.
Review URL: https://chromiumcodereview.appspot.com//10421026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7959 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 18:33:13 +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
rnystrom@google.com
96398f47bb
Sort packages before listing them.
...
Review URL: https://chromiumcodereview.appspot.com//10137015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7112 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 23:52:51 +00:00
rnystrom@google.com
36371653f4
Refactor command code and add support for --help and --version.
...
Review URL: https://chromiumcodereview.appspot.com//10214006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6985 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 00:45:24 +00:00
rnystrom@google.com
8c913b10fc
First pass at "pub update" implementation.
...
This will create a "packages" directory next to the current
package's entrypoint and populate it with symlinks to packages
in the pub package cache. Transitive dependencies are handled.
Review URL: https://chromiumcodereview.appspot.com//10207018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6979 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 22:18:15 +00:00
rnystrom@google.com
4c6865d7d8
Sort packages by name before listing them.
...
Review URL: https://chromiumcodereview.appspot.com//10191027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6978 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 21:44:05 +00:00
rnystrom@google.com
9c5e4a2ec2
Start implementing pub object model. Rudimentary package cache class, and a simple pub command to list its contents.
...
Review URL: https://chromiumcodereview.appspot.com//10091014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6779 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 00:00:05 +00:00