aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish_version.cpp
blob: c4eb15dfc1620a8ba7c830b623672806e23c6956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/** \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"

#ifndef FISH_BUILD_VERSION
#include "fish-build-version.h"
#endif

/**
 * Return fish shell version.
 */
const char *get_fish_version() {
    return FISH_BUILD_VERSION;
}