forked from hertog/godot-module-template
11 lines
472 B
Makefile
11 lines
472 B
Makefile
build:
|
|
cd engine/ && scons target=editor symbols=yes optimization=debug dev_build=yes linker=mold use_llvm=yes compiledb=yes
|
|
|
|
run: build
|
|
engine/bin/godot.linuxbsd.editor.dev.x86_64.llvm --editor --path project
|
|
|
|
initialize-template projectname:
|
|
sed -i -e "s/PROJECT/{{projectname}}/g" ./engine/modules/PROJECT/register_types.h ./engine/modules/PROJECT/register_types.cpp ./project/project.godot
|
|
mv ./engine/modules/PROJECT ./engine/modules/{{projectname}}
|
|
|