gitlab-runner 0.2.0

Helper crate to build custom gitlab runners
Documentation
1
2
3
4
5
6
7
8
9
10
11
use vergen::EmitBuilder;

pub fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Only emit git enabled variables if they're valid (in a git tree)
    let _ = EmitBuilder::builder()
        .git_dirty(true)
        .git_sha(true)
        .fail_on_error()
        .emit();
    Ok(())
}