burrow/burrow-gtk/build.rs
2024-08-17 10:57:18 -07:00

17 lines
338 B
Rust

use anyhow::Result;
fn main() -> Result<()> {
compile_gresources()?;
tonic_build::compile_protos("../proto/burrow.proto")?;
Ok(())
}
fn compile_gresources() -> Result<()> {
glib_build_tools::compile_resources(
&["data"],
"data/resources.gresource.xml",
"compiled.gresource",
);
Ok(())
}