diff --git a/src/main.rs b/src/main.rs index f672301..30d18e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -185,7 +185,7 @@ fn new(project_name: String) -> anyhow::Result<()> { } fn build() -> anyhow::Result<()> { - let mut targets: Vec = crate::fs::expand_files(DIR_SRC.as_path())? + let mut targets: Vec = crate::fs::expand_files(PROJECT_ROOT.clone().join(DIR_SRC.as_path()))? .into_iter() .filter(|f| { f.extension()