Used internal build tooling to pack index
gitea/double-pendulum/pipeline/head This commit looks good

This commit is contained in:
Philippe Zwietering
2026-09-08 14:57:18 +02:00
parent 0630e77b17
commit 4e7260ff92
3 changed files with 11 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
use std::fs;
fn main() {
println!("cargo:rerun-if-changed=index.html");
if let Err(e) = fs::copy("index.html", "pkg/index.html") {
eprintln!("Error: Couldn't copy index.html: {}", e);
}
}