Add git revision to log
This commit is contained in:
parent
ae1759077e
commit
de6790934b
4 changed files with 220 additions and 0 deletions
6
build.rs
Normal file
6
build.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
use vergen_gitcl::{Emitter, GitclBuilder};
|
||||
|
||||
fn main() -> Result<(), anyhow::Error> {
|
||||
let builder = GitclBuilder::default().describe(true, true, None).build()?;
|
||||
Emitter::default().add_instructions(&builder)?.emit()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue