pub fn buildcmd<S: AsRef<Path>,T: AsRef<Path>>(src_dir: S,target_dirs: &[T]) {
    let tmp_dir = TempDir::new("meku-build").unwrap();
    build(&src_dir,tmp_dir.path());

    for tar_dir in target_dirs.iter() {
        copy_dir(tmp_dir.path(),tar_dir.as_ref());
    }

}
/// Does the same as executing the executable with `meku build <target_dirs>...`
Does the same as executing the executable with `meku build ...`
Does the same as executing the executable with ` meku build ... `
pub fn buildcmd<S: AsRef<Path>,T: AsRef<Path>>(src_dir: S,target_dirs: &[T]) {
    let tmp_dir = TempDir::new("meku-build").unwrap();
    build(&src_dir,tmp_dir.path());
    for tar_dir in target_dirs.iter() {
        copy_dir(tmp_dir.path(),tar_dir.as_ref());
    }
}
pub fn buildcmd < S : AsRef < Path > , T : AsRef < Path > > ( src_dir : S , target_dirs : & [ T ] ) { let tmp_dir = TempDir :: new ( " " ) . unwrap ( ) ; build ( & src_dir , tmp_dir . path ( ) ) ; for tar_dir in target_dirs . iter ( ) { copy_dir ( tmp_dir . path ( ) , tar_dir . as_ref ( ) ) ; } }
Does the same as executing the executable with `meku build <target_dirs>...`
Does the same as executing the executable with ` meku build <target_dirs > ... `
src_dir
S
target_dirs
&[T]
src_dir
S
target_dirs
&[T]