forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
40 lines (29 loc) · 1.52 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
set shell := ["fish", "-c"]
c := ""
base :="scu_build=yes warnings=extra werror=yes module_mono_enabled=yes " + c
dev_base := "linker=mold use_llvm=yes dev_build=yes platform=linuxbsd target=editor " + base
prod_base := "deprecated=no module_godot_physics_3d_enabled=no module_mobile_vr_enabled=no module_csg_enabled=no module_openxr_enabled=no module_webrtc_enabled=no module_webxr_enabled=no module_text_server_fb_enabled=yes module_text_server_adv_enabled=no " + base
template_base := prod_base
dev:
scons {{dev_base}} compiledb=yes
dev-test:
scons {{dev_base}} tests=yes compiledb=yes
dev-asan:
scons {{dev_base}} use_asan=yes
editor:
scons platform=linuxbsd target=editor compiledb=no use_llvm=yes linker=mold \
{{prod_base}}
android_debug:
scons dev_build=no platform=android target=template_debug {{template_base}}
android_release:
scons dev_build=no platform=android target=template_debug {{template_base}}
linux_release:
scons dev_build=no use_llvm=yes linker=mold platform=linuxbsd target=template_release {{template_base}}
windows_debug:
scons dev_build=yes platform=windows target=template_debug {{template_base}}
windows_debug_mingw:
scons dev_build=yes platform=windows target=template_debug use_llvm=yes use_mingw=yes {{template_base}}
mono_glue:
./bin/godot.linuxbsd.editor.x86_64.llvm.mono --headless --generate-mono-glue modules/mono/glue
mono_sdk:
./modules/mono/build_scripts/build_assemblies.py --godot-output-dir ./bin --push-nupkgs-local ~/MyLocalNugetSource/ --no-deprecated