diff options
Diffstat (limited to 'src/consts.rs')
| -rw-r--r-- | src/consts.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/consts.rs b/src/consts.rs new file mode 100644 index 0000000..7e5d0fd --- /dev/null +++ b/src/consts.rs @@ -0,0 +1,3 @@ +pub const PISH_VERSION: &str = env!("CARGO_PKG_VERSION"); +pub const PISH_COMMIT: &str = env!("GIT_HASH_SHORT"); +pub const PISH_DIRTY: bool = option_env!("GIT_DIRTY").is_some(); |
