Skip to content

Commit

Permalink
workspace: ignore *.hemtt*
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Sep 27, 2023
1 parent 840ccb8 commit 73bf643
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/tests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 3 additions & 0 deletions libs/common/src/workspace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 73bf643

Please sign in to comment.