mirror of
https://git.sr.ht/~asya/copycat
synced 2024-09-27 22:08:31 +00:00
14 lines
387 B
Rust
14 lines
387 B
Rust
use std::process::Command;
|
|
|
|
fn main() {
|
|
// Tell Cargo that if the given file changes, to rerun this build script.
|
|
println!("cargo:rerun-if-changed=crabbios/crabbios.asm");
|
|
Command::new("nasm")
|
|
.arg("crabbios/crabbios.asm")
|
|
.args(["-f", "bin"])
|
|
.args(["-o", "roms/crabbios.bin"])
|
|
.args(["-I", "crabbios"])
|
|
.spawn()
|
|
.unwrap();
|
|
}
|