forked 6ad82c3339 and refactored to combine prey.toml with nest.toml. The WorkspaceHandler.discover_packages() function is very broken

This commit is contained in:
2026-02-22 23:19:26 -05:00
parent 6ad82c3339
commit 3654d76340
32 changed files with 335 additions and 333 deletions

View File

View File

@@ -50,7 +50,7 @@ pub struct Compiler {
}
impl Compiler {
pub fn compile<P: AsRef<Path>>(self, path: P) -> Result<bool> {
pub fn compile<P: AsRef<Path>>(self, paths: Vec<P>) -> Result<bool> {
Ok(Exec::cmd(JAVA_BIN_COMPILER)
.args(
self.flags
@@ -58,7 +58,7 @@ impl Compiler {
.into_iter()
.flat_map(|f| Into::<Vec<String>>::into(f)),
)
.arg(path.as_ref().with_extension(JAVA_EXT_SOURCE))
.args(paths.into_iter().map(|p| p.as_ref().with_extension(JAVA_EXT_SOURCE)))
.stdout(Redirection::Pipe)
.detached()
.start()?

View File

@@ -1,6 +1,7 @@
pub mod compiler;
pub mod error;
pub mod runtime;
mod compilation_scheduler;
use std::str::FromStr;