Closed szwoelf closed 6 years ago
This is also true if linting fails. Here also the build continues ... possibly this is desired but on automatic builds it is unexpected.
This works for all commands provided they don't swallow errors, unfortunately cli-build-app does not return an error back to the CLI when there has been a build failure - will need to add changes to cli-build-app to ensure this returns back as expected on a failure.
Thank you for the fix.
Enhancement
When building tests with
dojo build -m test
the return code to the operating system is zero even if the build process fails.Package Version: 0.5.0
Expected behavior:
A non zero return code will possibly be more appropriate and ensure that the build breaks a CI build chain.