Files
continuwuity/xtask/main/src/main.rs
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
391 B
Rust
Raw Normal View History

2025-05-24 00:28:09 +01:00
use std::{env, process::Command};
fn main() -> Result<(), Box<dyn std::error::Error>> {
2025-07-06 21:59:20 +01:00
let mut child = Command::new("cargo").args(["run", "--package", "xtask-generate-commands", "--"].into_iter().map(ToOwned::to_owned).chain(env::args().skip(2)))
2025-05-24 00:28:09 +01:00
// .stdout(Stdio::piped())
// .stderr(Stdio::piped())
.spawn()
.expect("failed to execute child");
child.wait()?;
Ok(())
}