Crates.io | bt |
lib.rs | bt |
version | 0.1.0 |
source | src |
created_at | 2015-06-06 02:36:35.174233 |
updated_at | 2015-12-11 23:56:40.231265 |
description | Simple tool to use in build script. |
homepage | https://github.com/ceram1/bt.rs |
repository | https://github.com/ceram1/bt.rs.git |
max_upload_size | |
id | 2313 |
size | 906 |
Simple build script tools.
use std::process::Command;
use bt::*;
fn main() {
// this will print log.
cmd("cmake", |ref mut cmd| {
cmd
.arg("--build").arg(".")
.arg("--target").arg("install")
.current_dir(&Path::new(&dst));
});
}