Minor fixes

This commit is contained in:
Joshua Granick
2018-04-26 12:11:14 -07:00
parent 3b9e572f8b
commit dcacb9f04a
3 changed files with 18 additions and 3 deletions

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);