Files
double-pendulum/build.rs
T
Philippe Zwietering ba06b988af
gitea/double-pendulum/pipeline/head This commit looks good
build: Package folder eerst aanmaken
2026-09-08 16:03:59 +02:00

12 lines
250 B
Rust

use std::fs;
fn main() {
println!("cargo:rerun-if-changed=index.html");
let _ = fs::create_dir_all("pkg");
if let Err(e) = fs::copy("index.html", "pkg/index.html") {
eprintln!("Error: Couldn't copy index.html: {}", e);
}
}