Xalanj 2821 (#12) Clean up the builds to return error codes/result codes, for use when build is invoked programmatically rather than from command line. Should be much cleaner than trying to parse the console output. Co-authored-by: kubycsolutions <keshlam@kubyc.solutions>