Include git hash in version
This commit is contained in:
parent
6a64bd2e47
commit
9b55cd1ce2
4 changed files with 76 additions and 2 deletions
4
build.rs
4
build.rs
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue