Add HXCPP_EXIT_ON_ERROR define, to ensure we get error codes from HXCPP

This commit is contained in:
Joshua Granick
2014-12-27 13:16:22 -08:00
parent 31f4131f4f
commit a369f16709

View File

@@ -111,6 +111,8 @@ class CPPHelper {
}
Sys.putEnv ("HXCPP_EXIT_ON_ERROR", "");
var code = ProcessHelper.runCommand (path, "haxelib", args);
if (code != 0) {
@@ -295,6 +297,8 @@ class CPPHelper {
}
Sys.putEnv ("HXCPP_EXIT_ON_ERROR", "");
ProcessHelper.runCommand (path, "haxelib", args);
}