rust/src/librustpkg
Björn Steinbrink bdc182cc41 Use static string with fail!() and remove fail!(fmt!())
fail!() used to require owned strings but can handle static strings
now. Also, it can pass its arguments to fmt!() on its own, no need for
the caller to call fmt!() itself.
2013-05-14 16:36:23 +02:00
..
testsuite add gitattributes and fix whitespace issues 2013-05-03 20:01:42 -04:00
conditions.rs rustpkg: Implement install command 2013-05-03 16:06:07 -07:00
context.rs rustpkg: Handle sysroot more correctly 2013-05-03 16:48:44 -07:00
path_util.rs rustpkg: Handle sysroot more correctly 2013-05-03 16:48:44 -07:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
rustpkg.rc Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
tests.rs rustpkg: Handle sysroot more correctly 2013-05-03 16:48:44 -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 Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02:00
workspace.rs Use static string with fail!() and remove fail!(fmt!()) 2013-05-14 16:36:23 +02: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