diff --git a/tools/helpers/CPPHelper.hx b/tools/helpers/CPPHelper.hx index d84e5abcf..d4f3873fa 100644 --- a/tools/helpers/CPPHelper.hx +++ b/tools/helpers/CPPHelper.hx @@ -111,7 +111,13 @@ class CPPHelper { } - ProcessHelper.runCommand (path, "haxelib", args); + var code = ProcessHelper.runCommand (path, "haxelib", args); + + if (code != 0) { + + Sys.exit (code); + + } }