How to compile to get access to the command line tools

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By frob

I am compiling Godot from source 3.2.3-stable using the command scons platform=server tools=yes target=release_debug but the resulting file doesn’t seem to give me any CLI tools.

:bust_in_silhouette: Reply From: Lopy

“tools” in the context of Godot compilation means “Godot Editor”. The tools=yes option therefore means that you want the Editor to be included with your executable.

For a list of options supported by your executable, run it with -h.

If you want to use your executable as an interpreter to run tool scripts (tool scripts being scripts that can be run in the Editor, denoted by the tool keyword), you can write --script See OS.get_cmdline_args().

My main goal is to run gut tests, lint my gdscript, and export built games.

frob | 2021-01-24 08:18