feat: added editor build commands
This commit is contained in:
parent
add768b79b
commit
0c508b0831
1 changed files with 13 additions and 0 deletions
13
justfile
13
justfile
|
|
@ -40,6 +40,19 @@ package-release-windows: (compile-release "windows") package-project
|
|||
|
||||
package-release-all: package-release-windows package-release-linuxbsd
|
||||
|
||||
compile-editor platform:
|
||||
cd engine/ && scons target=editor platform={{platform}} dev_build=no linker=mold use_llvm=yes custom_modules="../modules"
|
||||
|
||||
build-editor-linuxbsd: (compile-editor "linuxbsd")
|
||||
# Prepare output
|
||||
mkdir -p build/editor
|
||||
cp engine/bin/godot.linuxbsd.editor.x86_64.llvm build/editor/{{BUILD_NAME}}.godot.linuxbsd.editor.x86_64
|
||||
|
||||
build-editor-windows: (compile-editor "windows")
|
||||
# Prepare output
|
||||
mkdir -p build/editor
|
||||
cp engine/bin/godot.windows.editor.x86_64.exe build/editor/{{BUILD_NAME}}.godot.windows.editor.x86_64.exe
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue