rust/src/librustpkg
bors 658637baf4 auto merge of #10179 : alexcrichton/rust/rt-improvements, r=cmr
This fleshes out the io::file module a fair bit more, adding all of the functionality that I can think of that we would want. Some questions about the representation which I'm curious about:

* I modified `FileStat` to be a little less platform-agnostic, but it's still fairly platform-specific. I don't want to hide information that we have, but I don't want to depend on this information being available. One possible route is to have an `extra` field which has all this os-dependent stuff which is clearly documented as it should be avoided.

* Does it make sense for directory functions to be top-level functions instead of static methods? It seems silly to import `std::rt::io::file` and `std::rt::io::File` at the top of files that need to deal with directories and files.
2013-11-04 12:21:11 -08:00
..
testsuite Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
api.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
conditions.rs Merge remote-tracking branch 'upstream/master' 2013-10-23 10:09:06 -07:00
context.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
crate.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
exit_codes.rs rustpkg: Set exit codes properly and make tests take advantage of that 2013-10-11 17:15:52 -07:00
installed_packages.rs Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
lib.rs auto merge of #10179 : alexcrichton/rust/rt-improvements, r=cmr 2013-11-04 12:21:11 -08:00
messages.rs Remove even more of std::io 2013-10-24 14:21:57 -07:00
package_id.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
package_source.rs Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
path_util.rs Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
search.rs Drop the '2' suffix from logging macros 2013-10-22 08:09:56 -07:00
sha1.rs Integrate the code in the digest and cryptoutil modules directly into the sha1 module. 2013-10-27 21:25:19 -04:00
source_control.rs Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
target.rs rustpkg: Support arbitrary dependencies in the install API 2013-10-22 20:41:29 -07:00
tests.rs auto merge of #10179 : alexcrichton/rust/rt-improvements, r=cmr 2013-11-04 12:21:11 -08:00
usage.rs Remove even more of std::io 2013-10-24 14:21:57 -07:00
util.rs Move io::file to io::fs and fns out of File 2013-11-04 10:28:55 -08:00
version.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00
workcache_support.rs Fill out the remaining functionality in io::file 2013-11-03 15:15:42 -08:00
workspace.rs Remove all blocking std::os blocking functions 2013-11-03 15:15:42 -08:00

Right now, commands that work are "build" and "clean".

`rustpkg build` and `rustpkg clean` should work

for example:
$ cd ~/rust/src/librustpkg/testsuite/pass
$ rustpkg build hello-world
... some output ...
$ rustpkg clean hello-world

-------------
the following test packages in librustpkg/testsuite/pass:
      * hello-world
      * install-paths
      * simple-lib
      * deeply/nested/path
      * fancy-lib

   It fails on the following test packages:
      * external-crate (no support for `extern mod` inference yet)

and should fail with proper error messages
on all of the test packages in librustpkg/testsuite/fail
      * no-inferred-crates