Fixed: justfile not changing when using initialize-template #15
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -6,6 +6,9 @@
|
||||||
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
|
||||||
|
@ -13,6 +16,8 @@ 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
|
||||||
|
|
2
justfile
2
justfile
|
@ -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 "s/change_me/{{projectname}}/" ./justfile
|
sed -i "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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue