feat: initialized template

This commit is contained in:
Sara Gerretsen 2025-11-12 11:27:24 +01:00
parent 57a18ebef7
commit 76dd9fbc62
10 changed files with 19 additions and 19 deletions

View file

@ -1,6 +1,6 @@
set export
BUILD_NAME := "change_me"
BUILD_NAME := "terrain_editor"
build: format
# Compiling Editor
@ -37,7 +37,7 @@ release-windows: build
initialize-template projectname:
# Initializing Template {{projectname}}
sed -i -e "s/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
sed -i -e "s/change_me/{{projectname}}/" ./justfile
sed -i -e "s/terrain_editor/{{projectname}}/" ./justfile
mv ./modules/PROJECT ./modules/{{projectname}}
# Done Initializing, you will still have to update BUILD_NAME in your justfile