macro_rules! bin {
($bin:expr) => {{
#[cfg(not(target_os = "windows"))]
let bin = $bin;
#[cfg(target_os = "windows")]
let bin = concat!($bin, ".exe");
bin
}};
}
macro_rules! bat {
($bat:expr) => {{
#[cfg(not(target_os = "windows"))]
let bat = $bat;
#[cfg(target_os = "windows")]
let bat = concat!($bat, ".bat");
bat
}};
}
#[cfg(target_os = "windows")]
pub const EXECUTABLE_SUFFIX_BAT: &str = ".bat";
#[cfg(not(target_os = "windows"))]
pub const EXECUTABLE_SUFFIX_BAT: &str = "";
pub mod commands;
pub mod error;
pub mod types;