rust/src/librustpkg
Tim Chevalier 3226a804ad rustpkg: Support sub-package-IDs
Package IDs can now refer to a subdirectory of a particular source
tree, and not just a top-level directory with a src/ directory as its
parent.

For example, referring to the package ID a/b/c/d , in workspace W,
if W/src/a is a package, will build the sources for the package in
a/b/c/d (and not other crates in W/src/a).

Closes #6408
2013-09-12 14:11:25 -07:00
..
testsuite rustpkg: Un-ignore most of the remaining tests 2013-08-19 15:27:21 -07:00
api.rs rustpkg: Pass command-line arguments to rustc 2013-09-10 16:42:41 -07:00
conditions.rs rustpkg: Use workcache 2013-09-08 20:05:12 -07:00
context.rs rustpkg: Pass command-line arguments to rustc 2013-09-10 16:42:41 -07:00
crate.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
installed_packages.rs Update clients of path.rs to use new API. 2013-09-04 13:10:32 +02:00
messages.rs
package_id.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
package_source.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
path_util.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
README.txt
rustpkg.rs rustpkg: Pass command-line arguments to rustc 2013-09-10 16:42:41 -07:00
search.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
source_control.rs Rename str::from_bytes to str::from_utf8, closes #8985 2013-09-05 14:17:24 +02:00
target.rs
tests.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
usage.rs rustpkg: Pass command-line arguments to rustc 2013-09-10 16:42:41 -07:00
util.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -07:00
version.rs rustpkg: Use workcache 2013-09-08 20:05:12 -07:00
workcache_support.rs rustpkg: Use workcache 2013-09-08 20:05:12 -07:00
workspace.rs rustpkg: Support sub-package-IDs 2013-09-12 14:11:25 -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