[][src]Macro git_version::git_describe

macro_rules! git_describe {
    #[proc_macro_hack] => { ... };
}

Invoke git describe at compile time with custom flags.

All arguments to the macro must be string literals, and will be passed directly to git describe.

For example:

const VERSION : &str = git_describe!("--always", "--dirty");