mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
d726b26287
* add warnings_count Stolen from https://github.com/zeldaret/mm. Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * emit only new warnings * add jp warnings * fix ccache (lmao) * slug comments about warnings * oops * oops again * oops again again * adjust message * truncate warnings list if there are more than 100 Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
12 lines
453 B
Bash
Executable File
12 lines
453 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# This script can be used when you want to test locally the amount of warnings produced by your changes before doing a PR.
|
|
|
|
curl -L https://papermar.io/reports/warnings.txt > tools/warnings_count/warnings.txt
|
|
|
|
rm -rf ver/*/build/src
|
|
ninja | grep warning | sort | uniq > tools/warnings_count/warnings_new.txt
|
|
|
|
python3 tools/warnings_count/compare_warnings.py tools/warnings_count/warnings.txt tools/warnings_count/warnings_new.txt $@
|