diff --git a/src/main.rs b/src/main.rs index d6409d9..6981bd5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -186,7 +186,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()