mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
rustpkg: Don't execute the standard build logic if there is a pkg.rs
This commit is contained in:
@@ -234,13 +234,14 @@ impl Ctx {
|
||||
}
|
||||
};
|
||||
|
||||
// Find crates inside the workspace
|
||||
// If there was a package script, it should have finished
|
||||
// the build already. Otherwise...
|
||||
if !custom {
|
||||
// Find crates inside the workspace
|
||||
src.find_crates();
|
||||
// Build it!
|
||||
src.build(&dst_dir, cfgs);
|
||||
}
|
||||
|
||||
// Build it!
|
||||
src.build(&dst_dir, cfgs);
|
||||
}
|
||||
~"clean" => {
|
||||
if args.len() < 1 {
|
||||
|
||||
Reference in New Issue
Block a user