mirror of https://github.com/buggins/dlangide.git
fix Travis CI unittest
This commit is contained in:
parent
bc7041530d
commit
0cdd6a9216
|
@ -68,7 +68,7 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
//}
|
//}
|
||||||
version(unittest) {
|
version(unittest) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
} else {
|
||||||
|
|
||||||
// create window
|
// create window
|
||||||
Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 900, 730);
|
Window window = Platform.instance.createWindow("Dlang IDE", null, WindowFlag.Resizable, 900, 730);
|
||||||
|
@ -93,6 +93,7 @@ extern (C) int UIAppMain(string[] args) {
|
||||||
|
|
||||||
// run message loop
|
// run message loop
|
||||||
return Platform.instance.enterMessageLoop();
|
return Platform.instance.enterMessageLoop();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -46,7 +46,7 @@ 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.6.15"d;
|
immutable dstring DLANGIDE_VERSION = "v0.6.17"d;
|
||||||
|
|
||||||
bool isSupportedSourceTextFileFormat(string filename) {
|
bool isSupportedSourceTextFileFormat(string filename) {
|
||||||
return (filename.endsWith(".d") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c")
|
return (filename.endsWith(".d") || filename.endsWith(".txt") || filename.endsWith(".cpp") || filename.endsWith(".h") || filename.endsWith(".c")
|
||||||
|
|
Loading…
Reference in New Issue