reef 0.0.28

a package to execute and log system commands
Documentation
1
2
3
4
5
6
7
8
9
10
11
use reef::Command;

fn main() {
    println!("current_dir: {:?}", std::env::current_dir());
    let examples_dir = std::env::current_dir().unwrap().join("examples");
    let rake_default = Command::new("rake default", &examples_dir).exec().unwrap();
    assert!(rake_default.success, "success");
    assert!(rake_default.stdout.contains("default"));
    assert!(rake_default.dir.exists(), "dir");
    println!("{}", rake_default);
}