godot-cpp-template/init.sh

6 lines
233 B
Bash
Raw Normal View History

2024-03-07 19:48:46 +00:00
#! /bin/sh
git submodule update --init --recursive
sed -i -e "s/EXAMPLE/$1/g" ./src/register_types.cpp ./SConstruct ./godot/bin/EXAMPLE.gdextension ./godot/project.godot
2024-03-07 19:48:46 +00:00
mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension