link with zlib; put version to separate file views/VERSION

This commit is contained in:
Vadim Lopatin 2017-08-25 10:17:10 +03:00
parent 99315708d3
commit 68307368e5
3 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
"dependencies": {
"dlangui": "==0.9.94",
"dlangui": "==0.9.95",
"dcd": "~>0.9.1"
},
@ -20,6 +20,8 @@
"libs/windows/x86/mago-mi.exe"
],
"libs-linux": ["z"],
"configurations" : [
{
"name" : "default"

View File

@ -46,7 +46,8 @@ import std.path;
immutable string HELP_PAGE_URL = "https://github.com/buggins/dlangide/wiki";
// TODO: get version from GIT commit
immutable dstring DLANGIDE_VERSION = "v0.7.47"d;
//version is now stored in file views/VERSION
immutable dstring DLANGIDE_VERSION = toUTF32(import("VERSION"));
bool isSupportedSourceTextFileFormat(string filename) {
return (filename.endsWith(".d") || filename.endsWith(".di") || filename.endsWith(".dt") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c")

1
views/VERSION Normal file
View File

@ -0,0 +1 @@
v0.7.48