From 9a3697ac6e8af57482c7b2e01dfbf03ba1108891 Mon Sep 17 00:00:00 2001 From: Jack Back Date: Wed, 20 Mar 2024 18:08:06 +0100 Subject: [PATCH] build: crazy workflow idea 81 --- .gitea/scripts/ci.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/scripts/ci.sh b/.gitea/scripts/ci.sh index bfcb3f1..be11d37 100755 --- a/.gitea/scripts/ci.sh +++ b/.gitea/scripts/ci.sh @@ -7,15 +7,17 @@ mkdir iw4 mkdir iw5 cd .. +# ready for release cp iw4/scripts/mp/_jump.gsc build/iw4 -# replace gsc extension with cpp so GCC is happy -mv iw5/scripts/mp/_jump.c iw5/scripts/mp/_jump.cpp +# replace gsc extension with c. It will make gcc very happy +mv iw5/scripts/mp/_jump.gsc iw5/scripts/mp/_jump.c # perform macro expansion gcc -D_UTILITY_DEBUG -DIW5 -DCI -E "iw5/scripts/mp/_jump.c" -o _jump.in -# remove things gcc added to the file +# remove things gcc added to the file that we do not need python3 .gitea/scripts/clean.py _jump.in _jump.gsc +# ready for release mv _jump.gsc build/iw5/_jump.gsc