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