Macro git_version::git_describe

source ยท
macro_rules! git_describe {
    ($($proc_macro:tt)*) => { ... };
}
Expand description

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");