Include git hash in version

This commit is contained in:
Joscha 2023-08-04 15:44:29 +02:00
parent 6a64bd2e47
commit 9b55cd1ce2
4 changed files with 76 additions and 2 deletions

View file

@ -45,6 +45,10 @@ fn copy_static_files() {
}
fn main() {
let mut builder = vergen::EmitBuilder::builder();
builder.git_describe(true, false, None);
builder.emit().unwrap();
watch_dir(MIGRATION_DIR.as_ref());
watch_dir(STATIC_DIR.as_ref());
watch_dir(TEMPLATE_DIR.as_ref());