Fixed raven build to build from anywhere inside of a raven project. #1
@@ -186,7 +186,7 @@ fn new(project_name: String) -> 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()
|
||||
.filter(|f| {
|
||||
f.extension()
|
||||
|
||||
Reference in New Issue
Block a user