]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #7419 : catamorphism/rust/default-package, r=graydon
authorbors <bors@rust-lang.org>
Sat, 20 Jul 2013 09:16:41 +0000 (02:16 -0700)
committerbors <bors@rust-lang.org>
Sat, 20 Jul 2013 09:16:41 +0000 (02:16 -0700)
r? @brson `rustpkg build`, if executed in a package source directory inside
a workspace, will now build that package. By "inside a workspace"
I mean that the parent directory has to be called `src`, and rustpkg
will create a `build` directory in .. if there isn't already one.

Same goes for `rustpkg install` and `rustpkg clean`.

For the time being, `rustpkg build` (etc.) will still error out if
you run it inside a directory whose parent isn't called `src`.
I'm not sure whether or not it's desirable to have it do something
in a non-workspace directory.


Trivial merge