arreglada la carpeta tools
eliminat frameworks sobrants (reduix prou el executable de macos)
This commit is contained in:
15
tools/linter/check_one_file_includes.sh
Executable file
15
tools/linter/check_one_file_includes.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/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 -std=c++20 -Wall "$FILE" \
|
||||
-I../source \
|
||||
-Xiwyu --mapping_file=sdl3_mapping.imp \
|
||||
-Xiwyu --update_comments \
|
||||
-Xiwyu --verbose=3
|
||||
Reference in New Issue
Block a user