Files
mm/tools/warnings_count/update_current_warnings.sh
T
Anghelo Carvajal 25afa196f6 Make Jenkins check if a PR will add new warnings (#150)
* warning count

* update warnings

* Update warnings

* Use `tee`

* Suggestions of zbanks

* I hope this will fix it
2021-05-19 22:14:20 -04:00

12 lines
304 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 setup 2> tools/warnings_count/warnings_setup_current.txt
make all 2> tools/warnings_count/warnings_build_current.txt