aboutsummaryrefslogtreecommitdiff
path: root/tests/utils/mod.rs
blob: 8b834c19a7b7385e19cf1f729a69b2068245310d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::Path;
use std::process::{Command, Output};

use eyre::Context;

pub type R = eyre::Result<()>;

pub fn make(dir: impl AsRef<Path>) -> eyre::Result<Output> {
    Command::new(env!("CARGO_BIN_EXE_makers"))
        .current_dir(dir)
        .output()
        .wrap_err("")
}