From 04b92cbd0811c1d8c357b12676de3a829b30f05f Mon Sep 17 00:00:00 2001 From: Guus Waals <_@guusw.nl> Date: Tue, 27 May 2025 23:19:14 +0800 Subject: [PATCH] Add scan script --- game_re/scan_sources | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 game_re/scan_sources 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