aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-03-28 19:29:16 -0700
committerFuwn <[email protected]>2023-03-28 19:29:16 -0700
commitf3654286a982bc5807d6c3d25a4a45c2e89858f0 (patch)
treea32a70d5288e2092bb05441c4c94d1a3bada4b45 /build.rs
parentrefactor(tags): lockup name (diff)
downloadlocus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.tar.xz
locus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.zip
deps(vergen): 7.0.0 -> 8.0.0
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.rs b/build.rs
index 84c6abd..040db89 100644
--- a/build.rs
+++ b/build.rs
@@ -16,7 +16,9 @@
// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
-fn main() -> anyhow::Result<()> {
+fn main() -> Result<(), Box<dyn std::error::Error>> {
yarte::recompile::when_changed();
- vergen::vergen(vergen::Config::default())
+ vergen::EmitBuilder::builder().git_sha(true).emit()?;
+
+ Ok(())
}