use std::path::Path;
fn main() {
let out_dir = std::env::var("OUT_DIR").unwrap();
let component_dir = format!("{}/components", out_dir);
if !Path::new(&component_dir).exists() {
std::fs::create_dir(&component_dir).unwrap();
}
println!("cargo::rerun-if-changed={}", component_dir);
}