Files
url-shortener/build.rs
Elias Renman c39af75112 first commit
2025-03-16 21:54:32 +01:00

14 lines
309 B
Rust

use std::process::Command;
fn main() {
let status = Command::new("bun")
.args(["run", "build"])
.current_dir("web") // Change working directory to "web"
.status()
.expect("Failed to run bun build");
if !status.success() {
panic!("Bun build failed!");
}
}