build.rs/src/main.rs

17 lines
372 B
Rust
Raw Normal View History

2020-04-30 16:53:49 +00:00
use std::env;
use std::collections::HashMap;
mod log;
fn main() {
let home_dir = env::var("HOME").expect("$HOME not defined. WTF?");
let base_dir = format!("{}/.git-build", home_dir);
let mut test = HashMap::new();
test.insert("$i18n_task".to_string(), "test");
log::info("process", Some(&test));
//let log_level = env::var("LOG").unwrap_or
}