mirror of
https://github.com/eliasrenman/url-shortener.git
synced 2026-03-17 04:26:05 +01:00
first commit
This commit is contained in:
13
build.rs
Normal file
13
build.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
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!");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user