From 0c508b0831c29134af863ba1627d55c6be19a8d0 Mon Sep 17 00:00:00 2001 From: Sara Date: Sat, 4 Apr 2026 16:52:44 +0200 Subject: [PATCH] feat: added editor build commands --- justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/justfile b/justfile index c3b5dad8..9ced3c89 100644 --- a/justfile +++ b/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