2023-04-21 02:50:48 +00:00
|
|
|
use std::process::Command;
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
Command::new("typeshare")
|
|
|
|
.args(&[
|
2023-05-07 15:01:09 +00:00
|
|
|
"../../kifu-core",
|
2023-04-21 02:50:48 +00:00
|
|
|
"--lang=typescript",
|
2023-05-07 15:01:09 +00:00
|
|
|
"--output-file=pkg/core.d.ts",
|
2023-04-21 02:50:48 +00:00
|
|
|
])
|
|
|
|
.status()
|
|
|
|
.unwrap();
|
|
|
|
}
|