It would be nice if the build process would use the return value from pre/post compile/link commands. For example, a post-compile command might invoke a batch file that ran a static analysis tool (like LINT), processed the output, and returned zero for 'okay', and non-zero for 'not-okay'. The 'not-okay' return value could then be used to automatically abort the build, forcing the user to fix their source code before allowing the build to continue. Similarly, a pre-link command might invoke a regression test (like unit tests, for example), and return similar values to abort the build and not allow a link to occur until the regression test(s) pass too.
Please sign in to leave a comment.