summaryrefslogtreecommitdiff
path: root/build.rs
blob: 8fae21e890661a17df567e38b793741af5216238 (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::GitclBuilder::default()
                .sha(true) // Short
                .dirty(false) // Ignore untracked files
                .build()?,
        )?
        .emit()?;

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