Fixed raven build to build from anywhere inside of a raven project.

This commit is contained in:
2026-01-26 22:08:33 -05:00
committed by Olivia Brooks
parent aa851f7616
commit 27f784e1f0

View File

@@ -186,7 +186,7 @@ fn new(project_name: String) -> anyhow::Result<()> {
} }
fn build() -> anyhow::Result<()> { fn build() -> anyhow::Result<()> {
let mut targets: Vec<PathBuf> = crate::fs::expand_files(DIR_SRC.as_path())? let mut targets: Vec<PathBuf> = crate::fs::expand_files(PROJECT_ROOT.clone().join(DIR_SRC.as_path()))?
.into_iter() .into_iter()
.filter(|f| { .filter(|f| {
f.extension() f.extension()