diff options
| author | Fuwn <[email protected]> | 2023-03-28 19:29:16 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-03-28 19:29:16 -0700 |
| commit | f3654286a982bc5807d6c3d25a4a45c2e89858f0 (patch) | |
| tree | a32a70d5288e2092bb05441c4c94d1a3bada4b45 /build.rs | |
| parent | refactor(tags): lockup name (diff) | |
| download | locus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.tar.xz locus-f3654286a982bc5807d6c3d25a4a45c2e89858f0.zip | |
deps(vergen): 7.0.0 -> 8.0.0
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(()) } |