Minor fixes
This commit is contained in:
@@ -138,6 +138,7 @@ class LinuxPlatform extends PlatformTarget {
|
||||
|
||||
if (noOutput) return;
|
||||
|
||||
FileHelper.copyFile (targetDirectory + "/obj/ApplicationMain" + (project.debug ? "-Debug" : "") + ".hl", PathHelper.combine (applicationDirectory, project.app.file + ".hl"));
|
||||
NekoHelper.copyLibraries (project.templatePaths, "linux" + (is64 ? "64" : ""), applicationDirectory);
|
||||
|
||||
} else if (targetType == "nodejs") {
|
||||
@@ -323,7 +324,11 @@ class LinuxPlatform extends PlatformTarget {
|
||||
|
||||
}
|
||||
|
||||
if (targetType == "nodejs") {
|
||||
if (targetType == "hl") {
|
||||
|
||||
ProcessHelper.runCommand (applicationDirectory, "hl", [ project.app.file + ".hl" ].concat (arguments));
|
||||
|
||||
} else if (targetType == "nodejs") {
|
||||
|
||||
NodeJSHelper.run (project, targetDirectory + "/bin/ApplicationMain.js", arguments);
|
||||
|
||||
|
||||
@@ -121,6 +121,7 @@ class MacPlatform extends PlatformTarget {
|
||||
|
||||
if (noOutput) return;
|
||||
|
||||
FileHelper.copyFile (targetDirectory + "/obj/ApplicationMain" + (project.debug ? "-Debug" : "") + ".hl", PathHelper.combine (executableDirectory, project.app.file + ".hl"));
|
||||
NekoHelper.copyLibraries (project.templatePaths, "mac" + (is64 ? "64" : ""), executableDirectory);
|
||||
|
||||
} else if (targetType == "java") {
|
||||
@@ -289,7 +290,11 @@ class MacPlatform extends PlatformTarget {
|
||||
|
||||
}
|
||||
|
||||
if (targetType == "nodejs") {
|
||||
if (targetType == "hl") {
|
||||
|
||||
ProcessHelper.runCommand (applicationDirectory, "hl", [ project.app.file + ".hl" ].concat (arguments));
|
||||
|
||||
} else if (targetType == "nodejs") {
|
||||
|
||||
NodeJSHelper.run (project, executableDirectory + "/ApplicationMain.js", arguments);
|
||||
|
||||
|
||||
@@ -198,6 +198,7 @@ class WindowsPlatform extends PlatformTarget {
|
||||
|
||||
if (noOutput) return;
|
||||
|
||||
FileHelper.copyFile (targetDirectory + "/obj/ApplicationMain" + (project.debug ? "-Debug" : "") + ".hl", PathHelper.combine (applicationDirectory, project.app.file + ".hl"));
|
||||
NekoHelper.copyLibraries (project.templatePaths, "windows" + (is64 ? "64" : ""), applicationDirectory);
|
||||
|
||||
} else if (targetType == "nodejs") {
|
||||
@@ -428,7 +429,11 @@ class WindowsPlatform extends PlatformTarget {
|
||||
|
||||
}
|
||||
|
||||
if (targetType == "nodejs") {
|
||||
if (targetType == "hl") {
|
||||
|
||||
ProcessHelper.runCommand (applicationDirectory, "hl", [ project.app.file + ".hl" ].concat (arguments));
|
||||
|
||||
} else if (targetType == "nodejs") {
|
||||
|
||||
NodeJSHelper.run (project, targetDirectory + "/bin/ApplicationMain.js", arguments);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user