generated from Patagia/template-nix
11 lines
343 B
Rust
11 lines
343 B
Rust
extern crate varlink_generator;
|
|
|
|
fn main() {
|
|
// iterate over all varlink files
|
|
std::fs::read_dir("src").unwrap().for_each(|f| {
|
|
let f = f.unwrap();
|
|
if f.file_name().to_str().unwrap().ends_with(".varlink") {
|
|
varlink_generator::cargo_build_tosource(&f.path().display().to_string(), true);
|
|
}
|
|
});
|
|
}
|