mil merdertes
This commit is contained in:
16
linux_utils/check_one_file_includes.sh
Executable file
16
linux_utils/check_one_file_includes.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Verifica que se haya proporcionado un archivo como argumento
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Uso: $0 <archivo.cpp>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FILE="$1"
|
||||
|
||||
include-what-you-use -D DEBUG -D VERBOSE -std=c++20 -Wall "$FILE" \
|
||||
-Xiwyu --mapping_file=sdl3_mapping.imp \
|
||||
-Xiwyu --update_comments \
|
||||
-Xiwyu --verbose=3 \
|
||||
| \
|
||||
python3 /usr/bin/fix_includes.py --update_comments
|
||||
Reference in New Issue
Block a user