I have the following steps in a Docker build stage:
make shared > clbuild.log
export CRYPTLIB_BUILD_EXIT_CODE=$?
if [ ${CRYPTLIB_BUILD_EXIT_CODE} -ge 0 ]; then exit 1 ;fi
The warnings will still go to output with:
make shared > clbuild.log
How might i get make to log everything to 'clbuild.log' file, and not show any output at all, warnings or errors?
I wish to rather simply rely on exit code to indicate success or fail. (And abort and display the log only upon failure to build)