diff options
| author | Stefan Kreutz <mail@skreutz.com> | 2026-04-30 10:10:46 +0200 |
|---|---|---|
| committer | Stefan Kreutz <mail@skreutz.com> | 2026-04-30 10:10:46 +0200 |
| commit | 46a3d2ba70decd1931e13c190bfa49217e57718d (patch) | |
| tree | 49bc767c52d0cb4cf8443782cae1cc641ef59343 /build.rs | |
| parent | 47421e41def84ab92a52906f01266b1044fbfe29 (diff) | |
| download | temp-postgres-46a3d2ba70decd1931e13c190bfa49217e57718d.tar.gz | |
Rewrite in async Rust
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..8fae21e --- /dev/null +++ b/build.rs @@ -0,0 +1,16 @@ +//! Build script. + +fn main() -> Result<(), Box<dyn std::error::Error>> { + // Embed build information. + vergen_gitcl::Emitter::new() + .idempotent() + .add_instructions( + &vergen_gitcl::GitclBuilder::default() + .sha(true) // Short + .dirty(false) // Ignore untracked files + .build()?, + )? + .emit()?; + + Ok(()) +} |