rust/src/librustpkg
Tim Chevalier 0fa9ad8673 rustpkg: Handle local git repositories
rustpkg can now build code from a local git repository. In the
case where the local repo is in a directory not in the RUST_PATH,
it checks out the repository into a directory in the first workspace
in the RUST_PATH.

The tests no longer try to connect to github.com, which should
solve some of the sporadic failures we've been seeing.
2013-07-15 12:59:48 -07:00
..
testsuite rustpkg: Address review comments from cmr 2013-07-13 13:48:55 -07:00
api.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -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 Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
installed_packages.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -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 rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
package_path.rs Great renaming: propagate throughout the rest of the codebase 2013-06-29 11:20:02 -04:00
package_source.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
path_util.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
README.txt rustpkg: update README saying which tests pass 2013-04-24 17:51:30 -07:00
rustpkg.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -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: Handle local git repositories 2013-07-15 12:59:48 -07:00
target.rs rustc/rusti/rustpkg: Infer packages from extern mod directives 2013-06-01 18:48:07 -07:00
tests.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
usage.rs rustpkg: Implement uninstall and list commands 2013-07-13 13:36:50 -07:00
util.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
version.rs rustpkg: Handle local git repositories 2013-07-15 12:59:48 -07:00
workspace.rs Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by iterators. 2013-07-04 00:46:49 +10: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