WIP
This commit is contained in:
@@ -6,14 +6,21 @@ set -e
|
||||
|
||||
pushd $script_dir
|
||||
|
||||
file_list=files.txt
|
||||
rm -f $file_list
|
||||
for dir in gh_auto gh_stub gh_fix; do
|
||||
for file in $dir/*.cxx; do
|
||||
echo $file >>$file_list
|
||||
done
|
||||
mkdir -p logs
|
||||
types=(auto ref fix stub)
|
||||
for type in "${types[@]}"; do
|
||||
file_list="logs/files_${type}.txt"
|
||||
rm -f "$file_list"
|
||||
|
||||
if [ -d "gh_${type}" ]; then
|
||||
for file in "gh_${type}"/*.cxx; do
|
||||
echo "$file" >>"$file_list"
|
||||
done
|
||||
$tool "@$file_list" -v --type=$type --log-file=logs/log-functions-${type}.txt
|
||||
fi
|
||||
done
|
||||
|
||||
$tool @$file_list
|
||||
$tool gh_global.h -mglobals -v --log-file=logs/log-globals.txt
|
||||
$tool -mduplicates -v --log-file=logs/log-duplicates.txt
|
||||
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user