monorepo/fitnesstrax/app/build.rs

13 lines
432 B
Rust
Raw Normal View History

fn main() {
let resources_path = std::env::var_os("PWD").unwrap().clone();
let resources_path = resources_path.to_string_lossy().to_owned();
let resources_path = resources_path + "/resources/gresources.xml";
eprintln!("resources: {}", resources_path);
glib_build_tools::compile_resources(
&["resources"],
resources_path.as_ref(),
"com.luminescent-dreams.fitnesstrax.gresource",
);
}