Skip to content

Instantly share code, notes, and snippets.

@svandragt
Last active April 14, 2025 15:41
Show Gist options
  • Save svandragt/c7ec8c5beb4e0dbe86362a670fafc1dd to your computer and use it in GitHub Desktop.
Save svandragt/c7ec8c5beb4e0dbe86362a670fafc1dd to your computer and use it in GitHub Desktop.
DevBox bootstrap for Godot compilation
{
"$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"
]
}
}
}
@svandragt
Copy link
Author

svandragt commented Apr 14, 2025

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 and scons is available to run and compile the Linux Godot export templates with cd godot && scons platform=linux arch=x86_64 target=template_release use_llvm=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment