Added init.sh script

This commit is contained in:
Sara 2024-03-07 20:48:46 +01:00
parent 09035af13b
commit 8e0ba99e6d

5
init.sh Executable file
View file

@ -0,0 +1,5 @@
#! /bin/sh
git submodule update --init --recursive
sed -i -e "s/EXAMPLE/$1/g" ./src/register_types.cpp ./SConstruct ./godot/bin/EXAMPLE.gdextension
mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension