rust/src/librustpkg
Tim Chevalier 4d4cabff9e rustpkg: Implement install command
The install command should work now, though it only installs
    in-place (anything else has to wait until I implement RUST_PATH).

Also including:
    core: Add remove_directory_recursive, change copy_file

    Make copy_file preserve permissions, and add a remove_directory_recursive
    function.
2013-05-03 16:06:07 -07:00
..
testsuite rustpkg: Correct directory structure in test scenarios 2013-04-24 17:51:31 -07:00
conditions.rs rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
context.rs rustpkg: Preliminary work on install command 2013-04-24 17:51:31 -07:00
path_util.rs rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
rustpkg.rc rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
tests.rs rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
usage.rs rustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir in librustpkg 2013-02-15 18:04:11 -08:00
util.rs rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
workspace.rs rustpkg: Preliminary work on install command 2013-04-24 17:51:31 -07: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