diff --git a/game_re/scan_sources b/game_re/scan_sources new file mode 100644 index 00000000..f1f96975 --- /dev/null +++ b/game_re/scan_sources @@ -0,0 +1,19 @@ +#!/bin/bash +script_dir=$(readlink -f $(dirname "$0")) +tool=$script_dir/../tooling/bin/r3_gh_tool + +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 +done + +$tool @$file_list + +popd