fix: added '-i' flag to the sed ./justfile

This commit is contained in:
Sara 2025-09-03 21:35:48 +02:00
parent 82f2cae0f6
commit 7a771b99a8

View file

@ -37,7 +37,7 @@ release-windows: build
initialize-template projectname: initialize-template projectname:
# Initializing 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/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
sed "s/change_me/{{projectname}}/" ./justfile sed -i "s/mygame/{{projectname}}/" ./justfile
mv ./modules/PROJECT ./modules/{{projectname}} mv ./modules/PROJECT ./modules/{{projectname}}
# Done Initializing, you will still have to update BUILD_NAME in your justfile # Done Initializing, you will still have to update BUILD_NAME in your justfile