Compare commits

..

No commits in common. "fix/initialize-template-failing" and "development" have entirely different histories.

2 changed files with 1 additions and 6 deletions

5
.gitignore vendored
View file

@ -6,9 +6,6 @@
config.log config.log
.sconf_temp .sconf_temp
# build artifacts
*.o
compile_commands.json
engine/.github engine/.github
project/.godot project/.godot
build/PROJECT.pck build/PROJECT.pck
@ -16,8 +13,6 @@ build/PROJECT.x86_64
build/PROJECT.exe build/PROJECT.exe
build.zip build.zip
# general-purpose cache folder (used by e.g clangd)
.cache
*.o *.o
compile_commands.json compile_commands.json
.tree.hash .tree.hash

View file

@ -39,7 +39,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 -i "s/change_me/{{projectname}}/" ./justfile sed "s/change_me/{{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