#[cfg(test)] use reel::Repo; #[test] fn commit_make() -> std::result::Result<(), Box> { println!("opening repo https://gitlab.com/crates-rs/demo.git"); let repo = Repo::new("https://gitlab.com/crates-rs/demo.git")?; println!("getting latest_commit for repo https://gitlab.com/crates-rs/demo.git"); let latest = repo.latest_commit()?; let cmd = latest.make()?; println!("latest make: {:?}", cmd); Ok(()) }