assemble-core 0.2.0

The core crate of the assemble-rs package
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::__export::ProjectResult;
use crate::{Executable, Project, Task};

/// Trait to implement to initialize a task after it's been wrapped in an Executable
pub trait InitializeTask<T: Task = Self> {
    /// Initialize tasks
    fn initialize(_task: &mut Executable<T>, _project: &Project) -> ProjectResult {
        Ok(())
    }
}