specjam 0.0.5

A tool which can spawn a binary runner to test the JAM spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Build script for specjam

use anyhow::Result;
use codegen::Codegen;

mod codegen;

fn main() -> Result<()> {
    println!("cargo:rerun-if-changed=codegen");
    Codegen::run()?;
    if std::env::var("CLEAN_VECTORS").is_ok() {
        std::fs::remove_dir_all("jamtestvectors")?;
    }
    Ok(())
}