mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-14 02:53:30 +00:00
idk
This commit is contained in:
16
vendor/arma-rs/build.rs
vendored
Normal file
16
vendor/arma-rs/build.rs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user