1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
extern crate self as fpm;

pub mod build;
pub mod check;
pub mod config;
pub mod library;
pub mod setup;

pub use build::build;
pub use check::check;
pub use config::Config;
pub use library::Library;
pub use setup::setup;

pub fn fpm_ftd() -> &'static str {
    include_str!("../fpm.ftd")
}

#[cfg(test)]
mod tests {

    #[test]
    fn fbt() {
        if fbt_lib::main().is_some() {
            panic!("test failed")
        }
    }
}