]> git.lizzy.rs Git - rust.git/commit
auto merge of #8697 : kballard/rust/rustpkg-no-args, r=catamorphism
authorbors <bors@rust-lang.org>
Wed, 28 Aug 2013 03:45:40 +0000 (20:45 -0700)
committerbors <bors@rust-lang.org>
Wed, 28 Aug 2013 03:45:40 +0000 (20:45 -0700)
commitf22b4b169854c8a4ba86c16ee43327d6bcf94562
tree5036a446b9626648a6a253cdd6c0f90bb021d3d5
parent578e68047736167239c52fa1aba0347011ff1bc3
parenteafa63f787d04857268743e3941e7caa8c128bc4
auto merge of #8697 : kballard/rust/rustpkg-no-args, r=catamorphism

`rustpkg build` et al were only checking one directory up to see if it
was in a dir named "src". Ditch that entirely and instead check if the
cwd is descended from any of the workspace paths. Besides being more
intelligent about whether or not something is a workspace, this also
allows for package ids composed of multiple path components.

r? @catamorphism