This commit is contained in:
parent
30b9aa132f
commit
e01ef5d8ec
@ -9,6 +9,10 @@ mkdir iw4
|
||||
mkdir iw5
|
||||
cd iw5
|
||||
mkdir mp
|
||||
mkdir scripts
|
||||
cd scripts
|
||||
mkdir mp
|
||||
cd ..
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
@ -19,14 +23,14 @@ echo "Created release for IW4"
|
||||
# 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
|
||||
# perform macro expansion (.in extension is from a Stack Overflow post)
|
||||
gcc -D_UTILITY_DEBUG -DIW5 -DCI -E "iw5/scripts/mp/_jump.c" -o _jump.in
|
||||
|
||||
# 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
|
||||
mv _jump.gsc build/iw5/scripts/mp/_jump.gsc
|
||||
cp iw5/mp/perkTable.csv build/iw5/mp
|
||||
|
||||
echo "Created release for IW5"
|
||||
|
Loading…
x
Reference in New Issue
Block a user