Fixed: justfile not changing when using initialize-template #15

Open
Sara wants to merge 4 commits from Sara/godot-module-template:fix/initialize-template-failing into development
2 changed files with 6 additions and 1 deletions

5
.gitignore vendored
View file

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

View file

@ -39,7 +39,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 "s/change_me/{{projectname}}/" ./justfile
sed -i "s/change_me/{{projectname}}/" ./justfile
mv ./modules/PROJECT ./modules/{{projectname}}
# Done Initializing, you will still have to update BUILD_NAME in your justfile