commit c3807df3e73d92d0504d63686c70ea37386ec2d0
parent 3a513c0c18bc01713cbfc548765c2cf63efecb51
Author: triesap <tyson@radroots.org>
Date: Fri, 23 May 2025 04:59:34 +0000
workspace: remove build.rs
Diffstat:
| D | build.rs | | | 27 | --------------------------- |
1 file changed, 0 insertions(+), 27 deletions(-)
diff --git a/build.rs b/build.rs
@@ -1,27 +0,0 @@
-use std::process::{Command, Stdio};
-
-fn main() {
- let status_typeshare = Command::new("typeshare")
- .args(["--lang", "typescript", "--output-file", "bindings/ts/types.ts", "src"])
- .status()
- .expect("failed to run typeshare");
-
- if !status_typeshare.success() {
- panic!("typeshare generation failed");
- }
-
- let status_ts_build = Command::new("npm")
- .arg("run")
- .arg("build")
- .current_dir("bindings/ts")
- .stdout(Stdio::inherit())
- .stderr(Stdio::inherit())
- .status()
- .expect("failed to run `npm run build`");
-
- if !status_ts_build.success() {
- panic!("typescript bindings build failed");
- }
-
- println!("cargo:rerun-if-changed=src/");
-}