Files
armatak/vendor/arma-rs/build.rs
2026-04-13 08:04:43 -03:00

17 lines
360 B
Rust

use std::path::Path;
fn main() {
let mut root = Path::new("../../README.md");
if !root.exists() {
root = Path::new("../README.md");
}
if !root.exists() {
root = Path::new("README.md");
}
std::fs::copy(
root,
Path::new(&format!("{}/README.md", std::env::var("OUT_DIR").unwrap())),
)
.unwrap();
}