trenches/init.sh

6 lines
233 B
Bash
Executable File

#! /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
mv ./godot/bin/EXAMPLE.gdextension ./godot/bin/$1.gdextension