roc/crates/compiler/checkmate/build.rs
2023-07-17 09:50:37 -05:00

12 lines
219 B
Rust

use std::fs;
use roc_checkmate_schema::AllEvents;
fn main() {
let schema = AllEvents::schema();
fs::write(
"schema.json",
serde_json::to_string_pretty(&schema).unwrap(),
)
.unwrap();
}