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/cargo.rs | |
| parent | a34e0b1ec57350cfa1d61aa6fc2eced077be5623 (diff) | |
Load all crates in the graph, honor the "publish" flag to prevent publishing examples/tests.
Diffstat (limited to 'release/src/cargo.rs')
| -rw-r--r-- | release/src/cargo.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/src/cargo.rs b/release/src/cargo.rs index 0b28458e9..826a3a8b2 100644 --- a/release/src/cargo.rs +++ b/release/src/cargo.rs | |||
| @@ -149,6 +149,15 @@ impl CargoArgsBuilder { | |||
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | #[must_use] | 151 | #[must_use] |
| 152 | pub fn artifact_dir<S>(mut self, artifact_dir: S) -> Self | ||
| 153 | where | ||
| 154 | S: Into<String>, | ||
| 155 | { | ||
| 156 | self.args.push(format!("--artifact-dir={}", artifact_dir.into())); | ||
| 157 | self | ||
| 158 | } | ||
| 159 | |||
| 160 | #[must_use] | ||
| 152 | pub fn arg<S>(mut self, arg: S) -> Self | 161 | pub fn arg<S>(mut self, arg: S) -> Self |
| 153 | where | 162 | where |
| 154 | S: Into<String>, | 163 | S: Into<String>, |
