diff options
Diffstat (limited to 'src/librustpkg')
| -rw-r--r-- | src/librustpkg/rustpkg.rc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc index b3b47e7aeda..ca8161067c2 100644 --- a/src/librustpkg/rustpkg.rc +++ b/src/librustpkg/rustpkg.rc @@ -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 { |
