summaryrefslogtreecommitdiff
path: root/build.rs
blob: 9a45016a4c33a0d690f66895421fbc139f249cff (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    println!("cargo:rerun-if-changed=src/pagespec.lalrpop");
    println!("building parser with larlpop");
    lalrpop::process_root().unwrap();
    println!("built parser with larlpop successfully");
    println!("generating code with Subplot");
    subplot_build::codegen("riki.subplot").expect("failed to generate code with Subplot");
    println!("generated code with Subplot successfully");
}