builder rewrite wip
This commit is contained in:
@@ -3,6 +3,8 @@ use crate::app::config::config::Config;
|
||||
use super::executions::build_execution::BuildExecution;
|
||||
|
||||
pub async fn build(config: &Config) -> () {
|
||||
let mut build_execution = BuildExecution::new(&config.input_dir);
|
||||
build_execution.execute(&config).await.expect("build failed")
|
||||
let mut build_execution = BuildExecution::new(config);
|
||||
|
||||
build_execution.prepare().await.expect("could not prepare for build");
|
||||
build_execution.build_dir().expect("build failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user