Files
af/tools/warnings_count/update_current_warnings.sh
Derek Hensley 2b650b1c6a Warnings_count fix (#186)
* warnings_count fix

* Split rom and compress in check_new_warnings.sh

* Jenkinsfile

* Fix full check

* A couple more small fixes
2024-05-16 22:42:31 -07:00

15 lines
626 B
Bash
Executable File

#!/bin/bash
set -e
# This script should only be used when we need to modify the accepted amount of warnings.
DIR="$(dirname "$(readlink -f "$0")")"
cd "$DIR/../.."
make distclean
make WERROR=0 WARNINGS_CHECK=1 setup 2> tools/warnings_count/warnings_setup_current.txt
make WERROR=0 WARNINGS_CHECK=1 lib 2> tools/warnings_count/warnings_lib_current.txt
make WERROR=0 WARNINGS_CHECK=1 extract 2> tools/warnings_count/warnings_extract_current.txt
make WERROR=0 WARNINGS_CHECK=1 rom 2> tools/warnings_count/warnings_build_current.txt
make WERROR=0 WARNINGS_CHECK=1 compress 2> tools/warnings_count/warnings_compress_current.txt