17 lines
369 B
Bash
Executable File
17 lines
369 B
Bash
Executable File
#!/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
|