turtle-build 0.2.10

Ninja-compatible build system for high-level programming languages
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::DynamicBuild;
use std::collections::HashMap;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct DynamicConfiguration {
    outputs: HashMap<String, DynamicBuild>,
}

impl DynamicConfiguration {
    pub fn new(outputs: HashMap<String, DynamicBuild>) -> Self {
        Self { outputs }
    }

    pub fn outputs(&self) -> &HashMap<String, DynamicBuild> {
        &self.outputs
    }
}