Last active
April 14, 2025 15:41
-
-
Save svandragt/c7ec8c5beb4e0dbe86362a670fafc1dd to your computer and use it in GitHub Desktop.
DevBox bootstrap for Godot compilation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.1/.schema/devbox.schema.json", | |
"env": { | |
"SCRIPT_AES256_ENCRYPTION_KEY": "<your encryption key here>" | |
}, | |
"packages": [ | |
"uv@latest", | |
"[email protected]" | |
], | |
"shell": { | |
"init_hook": [ | |
". $VENV_DIR/bin/activate", | |
"alias scons='uv tool run scons'", | |
"devbox run scons-version" | |
], | |
"scripts": { | |
"clone-godot": [ | |
"git clone https://github.com/godotengine/godot.git && cd godot", | |
"git switch --detach $(git tag -l | tail -n 1)" | |
], | |
"scons-version": [ | |
"uv tool run scons --version" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put the above file in an empty directory and run
devbox shell
.Within the devbox shell you can run
devbox run clone-godot
to check out the latest stable godot andscons
is available to run and compile the Linux Godot export templates withcd godot && scons platform=linux arch=x86_64 target=template_release use_llvm=true