mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 17:30:17 +00:00
implement driver loading
This commit is contained in:
@@ -9,6 +9,7 @@ use std::rc::Rc;
|
||||
pub mod actions;
|
||||
pub mod config;
|
||||
pub mod context;
|
||||
pub mod drivers;
|
||||
pub mod generators;
|
||||
pub mod setup;
|
||||
pub mod utils;
|
||||
@@ -43,6 +44,8 @@ fn main() -> Result<()> {
|
||||
context.insert(&config.values);
|
||||
let context = context.freeze();
|
||||
|
||||
drivers::load(context.clone(), &config.drivers).context("failed to load drivers")?;
|
||||
|
||||
phase(context.clone(), &config.phases.startup)?;
|
||||
|
||||
let mut all_entries = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user