04338e3501
Merge documentation generation into a single binary, `bin/gen`. This includes: The changelog, man pages, the readme, and the book. type: reform
18 lines
199 B
Rust
18 lines
199 B
Rust
macro_rules! cmd {
|
|
{
|
|
$bin:expr,
|
|
$($arg:expr),*
|
|
$(,)?
|
|
} => {
|
|
{
|
|
let mut command = Command::new($bin);
|
|
|
|
$(
|
|
command.arg($arg);
|
|
)*
|
|
|
|
command
|
|
}
|
|
}
|
|
}
|