Add HXCPP_EXIT_ON_ERROR define, to ensure we get error codes from HXCPP
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user