mirror of
https://github.com/valmojr/armatak.git
synced 2026-08-19 08:22:56 +00:00
idk
This commit is contained in:
Vendored
+16
@@ -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