Fixed: justfile not changing when using initialize-template #15
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -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
|
||||
|
|
2
justfile
2
justfile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue