diff options
author | Daniel Poelzleithner <git@poelzi.org> | 2019-06-05 19:13:57 +0200 |
---|---|---|
committer | Daniel Poelzleithner <git@poelzi.org> | 2019-06-05 19:13:57 +0200 |
commit | ee32efcfece2d319ec2304f7a277941292add7d8 (patch) | |
tree | 759dda09e3a4f8fda03b7c552c632f6474263588 /src/defs_version.h | |
parent | 0b1137a1ba914e6acb7217e800585b4230bd45f1 (diff) |
Move version into own file and use version file in default.nix
Due the nature of nix, using "git describe" will always waste a
copy of the source folder and is quite slow.
Since nix string functions are very limited and extracting the
version is difficult, the best compromise was to move the version
into a small file as a single source of truth.
Diffstat (limited to 'src/defs_version.h')
-rw-r--r-- | src/defs_version.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/defs_version.h b/src/defs_version.h index d08f750a9c..4eff317cbf 100644 --- a/src/defs_version.h +++ b/src/defs_version.h @@ -53,6 +53,7 @@ // In that case, this value is used // READ ABOVE CAREFULLY BEFORE CHANGING! - // USE 3 DIGITS VERSION ONLY /!\ _ - #define MIXXX_VERSION "2.3.0-alpha-pre" + // USE 3 DIGITS VERSION ONLY ! + // CHANGE IN ACTUAL VERSION FILE + #include "_version.h" #endif |