rustpkg: Don't execute the standard build logic if there is a pkg.rs

This commit is contained in:
Tim Chevalier 2013-04-17 18:58:59 -07:00
parent a2761ac7b5
commit e2d947d72f

View File

@ -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 {