From 4e541b1128613cc3e51bf9e2df28aeb4d55fc1bf Mon Sep 17 00:00:00 2001
From: Sara <sara@saragerretsen.nl>
Date: Sun, 23 Feb 2025 16:02:31 +0100
Subject: [PATCH] feat: updated justfile to build with symbols, clang, mold and
 dev info

---
 justfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/justfile b/justfile
index 1745394d..c8d4ac1a 100644
--- a/justfile
+++ b/justfile
@@ -1,8 +1,8 @@
-run: build
-    cd project/ && ../engine/bin/godot.*.editor.x86_64 -e
-
 build:
-    cd engine/ && scons
+    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