monorepo/kifu/kifu-wasm/build.rs

13 lines
244 B
Rust

use std::process::Command;
fn main() {
Command::new("typeshare")
.args(&[
"../../kifu-core",
"--lang=typescript",
"--output-file=pkg/core.d.ts",
])
.status()
.unwrap();
}