humpback-dds/build.rs
2024-04-25 09:55:51 +02:00

11 lines
240 B
Rust

use std::process::Command;
fn main() {
Command::new("python3")
.arg("fpga/fpga_config.py")
.spawn()
.expect("FPGA bitstream file cannot be built!");
println!("cargo:rerun-if-changed=fpga/fpga_config.py")
}