17 lines
372 B
Rust
17 lines
372 B
Rust
|
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
|
||
|
}
|