Replace 'cargo_prefix' option with 'override_cargo'

This commit is contained in:
Igor Aleksanov
2020-09-05 16:20:33 +03:00
parent 2c125f3c63
commit 4a1b4b23bb
4 changed files with 10 additions and 10 deletions

View File

@@ -171,8 +171,8 @@ pub enum RunnableKind {
#[derive(Deserialize, Serialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct CargoRunnable {
// stuff before `cargo` command, e.g. `RUST_LOG=info`
pub cargo_prefix: Vec<String>,
// command to be executed instead of cargo
pub override_cargo: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub workspace_root: Option<PathBuf>,
// command, --package and --lib stuff