diff options
author | Konrad Borowski <x.fix@o2.pl> | 2014-05-01 09:46:27 +0200 |
---|---|---|
committer | Konrad Borowski <x.fix@o2.pl> | 2014-05-01 09:46:27 +0200 |
commit | f8e35de18d8d5ec78ad0f220afa1a5a4c8f827d7 (patch) | |
tree | 9af6ddb4cb2e1104d9ebb457b132bf0fbac378c9 /fish_indent.cpp | |
parent | a7facfb760ff3169e8a1a49078b98199f541f910 (diff) |
Shorten compilation times
Now fish shell stores version is a small file called by other files.
This means that a slight change which modifies one file won't cause
many of files to recompile.
The compilation unit is intentionally small, this is by design. The
smaller it is, the faster it will recompile, and it will be compiled
a lot.
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r-- | fish_indent.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp index 4560bb96..1332db5e 100644 --- a/fish_indent.cpp +++ b/fish_indent.cpp @@ -40,6 +40,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA #include "tokenizer.h" #include "print_help.h" #include "parser_keywords.h" +#include "fish_version.h" /** The string describing the single-character options accepted by the main fish binary @@ -344,7 +345,7 @@ int main(int argc, char **argv) fwprintf(stderr, _(L"%ls, version %s\n"), program_name, - FISH_BUILD_VERSION); + get_fish_version()); exit(0); } |