summaryrefslogtreecommitdiff
path: root/tools/warnings_count/update_current_warnings.sh
blob: 36c2bb5c3b07deaa8af6dd58c2385fb88ca7d689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env 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 rom 2> tools/warnings_count/warnings_build_current.txt
make compress 2> tools/warnings_count/warnings_compress_current.txt