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:
+6
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user