diff --git a/src/igloo.rs b/src/igloo.rs index edd5771..c339a1e 100644 --- a/src/igloo.rs +++ b/src/igloo.rs @@ -69,7 +69,7 @@ impl Igloo { cwd: std::env::current_dir().unwrap(), hd: std::env::home_dir().unwrap(), - esfd: match std::env::var("IGLOO_DIR") + esfd: match std::env::var("ESF_DIR") { Ok(v) => { @@ -78,7 +78,7 @@ impl Igloo Err(e) => { // Note: Need to change New to return errors instead of exiting early - println!("Error: $IGLOO_DIR not defined as an environment variable -- {:?}", e); + println!("Error: $ESF_DIR not defined as an environment variable -- {:?}", e); std::process::exit(1); } } @@ -275,8 +275,6 @@ impl Igloo { Err(res_err) } - - } } diff --git a/src/igloo_prj.rs b/src/igloo_prj.rs new file mode 100644 index 0000000..5a898bc --- /dev/null +++ b/src/igloo_prj.rs @@ -0,0 +1,8 @@ +// New Project +// --- Verify location +// --- Populate base folders +// --- create .igloo/.toml +// --- Create default target in ./igloo.toml +// --- Read Default Targets manifest toml +// --- generate projects core manifest toml +// --- Spawn user manifest config diff --git a/testdir/.igloo/.gdb_history b/testdir/.igloo/.gdb_history index 1c403e9..146ecd1 100644 --- a/testdir/.igloo/.gdb_history +++ b/testdir/.igloo/.gdb_history @@ -4,3 +4,40 @@ make load monitor reset q +q +r +q +break main +r +q +r +break main +r +s +s +q +q +break main +r +q +r +break main +r +r +q +q +q +q +q +q +load +q +load +monitor reset +break main +r +q +q +break main +r +q