rust/src/librustpkg
bors 2830d7d013 auto merge of #8032 : catamorphism/rust/rustpkg-tags, r=graydon
r? @graydon    Package IDs can now be of the form a/b/c#FOO, where (if a/b/c is
    a git repository) FOO is any tag in the repository. Non-numeric
    tags only match against package IDs with the same tag, and aren't
    compared linearly like numeric versions.
    
 While I was at it, refactored the code that calls `git clone`,  and segregated build output properly for different packages.
2013-07-29 11:04:25 -07:00
..
testsuite Change 'print(fmt!(...))' to printf!/printfln! in src/lib* 2013-07-24 09:45:20 -04:00
api.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
conditions.rs rustpkg: Implement uninstall and list commands 2013-07-13 13:36:50 -07:00
context.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
crate.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
installed_packages.rs rustpkg: Make rustpkg commands work without a package ID 2013-07-18 17:28:40 -07:00
messages.rs Bring compiletest/rustpkg/driver up to date on std vs core 2013-07-04 16:30:48 -07:00
package_id.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
package_path.rs librustc: Remove all uses of "copy". 2013-07-17 14:57:51 -07:00
package_source.rs rustpkg: Handle non-numeric versions; some cleanup 2013-07-24 18:42:14 -07:00
path_util.rs rustpkg: Handle non-numeric versions; some cleanup 2013-07-24 18:42:14 -07:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
rustpkg.rs rustc: reorganize driver, replace compile_upto with multiple more-obvious functions. 2013-07-27 00:48:05 -07:00
search.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
source_control.rs rustpkg: Don't assume a non-numeric refspec is a tag 2013-07-26 12:31:53 -07:00
target.rs rustc/rusti/rustpkg: Infer packages from extern mod directives 2013-06-01 18:48:07 -07:00
tests.rs auto merge of #8032 : catamorphism/rust/rustpkg-tags, r=graydon 2013-07-29 11:04:25 -07:00
usage.rs rustpkg: Clean up usage messages for install 2013-07-24 18:39:25 -07:00
util.rs rustc: reorganize driver, replace compile_upto with multiple more-obvious functions. 2013-07-27 00:48:05 -07:00
version.rs rustpkg: Handle non-numeric versions; some cleanup 2013-07-24 18:42:14 -07:00
workspace.rs rustpkg: Make rustpkg commands work without a package ID 2013-07-18 17:28:40 -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