summaryrefslogtreecommitdiff
path: root/tools/warnings_count/update_current_warnings.sh
blob: f2cff34c539e4664f6a957a8d32ed5d0a48ad8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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 assets 2> tools/warnings_count/warnings_assets_current.txt
make disasm 2> tools/warnings_count/warnings_disasm_current.txt
make uncompressed 2> tools/warnings_count/warnings_build_current.txt
make compressed 2> tools/warnings_count/warnings_compress_current.txt