diff --git a/bin/tests/build.rs b/bin/tests/build.rs index e539253b..48707619 100644 --- a/bin/tests/build.rs +++ b/bin/tests/build.rs @@ -3,6 +3,7 @@ use hemtt::cli; #[test] pub fn build() { std::env::set_current_dir("tests/alpha").unwrap(); + hemtt::execute(&cli().get_matches_from(vec!["hemtt", "dev", "--in-test"])).unwrap(); hemtt::execute(&cli().get_matches_from(vec!["hemtt", "build", "--in-test"])).unwrap(); std::env::set_current_dir("../bravo").unwrap(); diff --git a/libs/common/src/workspace/mod.rs b/libs/common/src/workspace/mod.rs index c9e89476..e08a9aad 100644 --- a/libs/common/src/workspace/mod.rs +++ b/libs/common/src/workspace/mod.rs @@ -46,6 +46,9 @@ impl Workspace { if entry.is_dir()? { continue; } + if entry.as_str().contains(".hemtt") { + continue; + } match entry.filename().to_lowercase().as_str() { "config.cpp" => { trace!("config.cpp: {:?}", entry);