diff options
Diffstat (limited to 'src/fish_version.cpp')
-rw-r--r-- | src/fish_version.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fish_version.cpp b/src/fish_version.cpp new file mode 100644 index 00000000..e434c3c8 --- /dev/null +++ b/src/fish_version.cpp @@ -0,0 +1,14 @@ +/** \file fish_version.c Fish version receiver. + + This file has a specific purpose of shortening compilation times when + the only change is different `git describe` version. +*/ + +#include "fish_version.h" + +/** + * Return fish shell version. + */ +const char *get_fish_version() { + return FISH_BUILD_VERSION; +} |