aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/build.rs
blob: 0dc0b28d58a3ef5e1e1fb48c9566609f027bc912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use mingling::build::{analyze_and_build_type_mapping, build_comp_scripts};

pub mod pre;

fn main() {
    // Perform path analysis and build type mapping table
    analyze_and_build_type_mapping().ok();

    // Generate Mingling CLI Completion Scripts
    build_comp_scripts("mling").unwrap();

    // Generate lint registry
    pre::gen_mod_file().unwrap();
    pre::gen_lint_registry().unwrap();
}