mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
xtask: Book: Allow fully custom arguments
This commit is contained in:
parent
f03aede2f5
commit
0723310ff7
1 changed files with 2 additions and 1 deletions
|
@ -290,9 +290,10 @@ impl<'a> CargoCommand<'a> {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If no argument given, run mdbook build
|
// If no argument given, run mdbook build
|
||||||
|
// with default path to book
|
||||||
args.extend_from_slice(&[self.command()]);
|
args.extend_from_slice(&[self.command()]);
|
||||||
|
args.extend_from_slice(&["book/en"]);
|
||||||
}
|
}
|
||||||
args.extend_from_slice(&["book/en"]);
|
|
||||||
args
|
args
|
||||||
}
|
}
|
||||||
CargoCommand::Format {
|
CargoCommand::Format {
|
||||||
|
|
Loading…
Reference in a new issue