chore(config): add automated Godot download to make setup

Adds tooling/install-godot script that downloads the Godot binary
from GitHub releases to ~/bin/godot4. Skips download when the
correct version is already installed. Supports Linux x86_64/arm64
and macOS. GODOT_VERSION defaults to 4.6 and is overridable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 16:43:07 +01:00
co-authored by Claude Opus 4.6
parent 3a2fe4bd71
commit 5267d405e0
3 changed files with 123 additions and 5 deletions
+6 -3
View File
@@ -23,9 +23,11 @@ Unit tests live inside their respective projects (`server/` uses `#[cfg(test)]`
| Tool | Version | Purpose |
|------|---------|---------|
| Rust (via rustup) | stable | Server compilation, clippy, rustfmt |
| Godot | 4.x | Client editor and runtime |
| Godot | 4.x | Client editor and runtime (auto-installed to `~/bin/` by `make setup`) |
| Python | 3.x | Tooling scripts, db connectors |
| Make | any | Task runner (see below) |
| curl | any | Downloading Godot |
| unzip | any | Extracting Godot |
## Makefile Targets
@@ -34,10 +36,11 @@ All development operations go through the top-level `Makefile`. Run `make` with
### Setup
```bash
make setup # Install/verify all dev dependencies
make setup # Install/verify all dev dependencies
GODOT_VERSION=4.4 make setup # Pin a specific Godot version
```
Checks for Rust toolchain (installs clippy + rustfmt components), Godot binary, and Python. Run this on a fresh clone or new workstation.
Downloads and installs Godot to `~/bin/godot4`, installs Rust clippy + rustfmt, and verifies Python/curl/unzip. Skips the download if the correct version is already installed. The `GODOT_VERSION` variable defaults to `4.6` and can be overridden.
### Build