summaryrefslogtreecommitdiff
path: root/build.rs
blob: ae339f85d5c99da1b61f0746c516a586ce065995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Build script.

fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Embed build information.
    vergen_gitcl::Emitter::new()
        .idempotent()
        .add_instructions(
            &vergen_gitcl::Gitcl::builder()
                .sha(true) // Short
                .dirty(false) // Ignore untracked files
                .build(),
        )?
        .emit()?;

    Ok(())
}
Generated by cgit. See skreutz.com for my tech blog and contact information.