ghost-eye/build.rs
Uncle Stretch b1d7add8a3
initial ghost-eye sketches with basic functionality
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2024-11-14 15:46:38 +03:00

14 lines
384 B
Rust

use anyhow::Result;
use vergen_gix::{BuildBuilder, CargoBuilder, Emitter, GixBuilder};
fn main() -> Result<()> {
let build = BuildBuilder::all_build()?;
let gix = GixBuilder::all_git()?;
let cargo = CargoBuilder::all_cargo()?;
Emitter::default()
.add_instructions(&build)?
.add_instructions(&gix)?
.add_instructions(&cargo)?
.emit()
}