diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-08-15 19:01:56 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2025-08-25 19:44:50 +0200 |
| commit | 3a6ea3a31c90179fb3cbd30c18e3a310e2ee647c (patch) | |
| tree | 9dcbd98e58bd2a0569b4f30562b51c4e677ea5b9 /release/src/build.rs | |
| parent | a34e0b1ec57350cfa1d61aa6fc2eced077be5623 (diff) | |
Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests.
Diffstat (limited to 'release/src/build.rs')
| -rw-r--r-- | release/src/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/src/build.rs b/release/src/build.rs index d1abb2aa1..7c777d36c 100644 --- a/release/src/build.rs +++ b/release/src/build.rs | |||
| @@ -34,6 +34,10 @@ pub(crate) fn build(ctx: &crate::Context, crate_name: Option<&str>) -> Result<() | |||
| 34 | args_builder = args_builder.features(&config.features); | 34 | args_builder = args_builder.features(&config.features); |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | if let Some(ref artifact_dir) = config.artifact_dir { | ||
| 38 | args_builder = args_builder.artifact_dir(artifact_dir); | ||
| 39 | } | ||
| 40 | |||
| 37 | batch_builder.add_command(args_builder.build()); | 41 | batch_builder.add_command(args_builder.build()); |
| 38 | } | 42 | } |
| 39 | } | 43 | } |
