mirror of https://github.com/buggins/dlangide.git
link with zlib; put version to separate file views/VERSION
This commit is contained in:
parent
99315708d3
commit
68307368e5
4
dub.json
4
dub.json
|
@ -12,7 +12,7 @@
|
||||||
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
|
"stringImportPaths": ["views", "views/res", "views/res/i18n", "views/res/mdpi", "views/res/hdpi"],
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"dlangui": "==0.9.94",
|
"dlangui": "==0.9.95",
|
||||||
"dcd": "~>0.9.1"
|
"dcd": "~>0.9.1"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
"libs/windows/x86/mago-mi.exe"
|
"libs/windows/x86/mago-mi.exe"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
"libs-linux": ["z"],
|
||||||
|
|
||||||
"configurations" : [
|
"configurations" : [
|
||||||
{
|
{
|
||||||
"name" : "default"
|
"name" : "default"
|
||||||
|
|
|
@ -46,7 +46,8 @@ import std.path;
|
||||||
|
|
||||||
immutable string HELP_PAGE_URL = "https://github.com/buggins/dlangide/wiki";
|
immutable string HELP_PAGE_URL = "https://github.com/buggins/dlangide/wiki";
|
||||||
// TODO: get version from GIT commit
|
// 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) {
|
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")
|
return (filename.endsWith(".d") || filename.endsWith(".di") || filename.endsWith(".dt") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c")
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
v0.7.48
|
Loading…
Reference in New Issue