Skip to content
This repository was archived by the owner on Nov 30, 2026. It is now read-only.

Gate framework

Chris Dowin edited this page Nov 23, 2026 · 1 revision

Gate framework

A game's Makefile includes the gate framework. Makefile.gates -includes Makefile.tiers and reads the tier lists it declares (GDK_PRECOMMIT_TIERS, GDK_VERIFY_TIERS):

GDK_CHECKS := godot-check          # make targets that join `check`; add uid-scan, hermetic-scan...
include Makefile.gates
  • make check runs shell (shellcheck over every tracked *.sh) and then each target in GDK_CHECKS. Every gate runs, the last line is the verdict, and the exit is the worst exit.
  • make precommit is check plus GDK_PRECOMMIT_TIERS.
  • make verify is check plus GDK_VERIFY_TIERS, less GDK_VERIFY_SKIP. CI runs it.
  • The 3.x make milestone, GDK_MILESTONE_TIERS and GDK_MILESTONE_SKIP aliases are removed.

Makefile.gates reads no TOML. A builder runs make spot ARGS="<GUT options>": gdlint and a compile of only the .gd files changed against BASE (default main), then GUT unit tests. Every machine and CI runs the same gate code because uv.lock pins the bits. install-gates --diff prints what a re-install would change and writes nothing.

See also: Runners and install-runners, Installing and pinning.

Clone this wiki locally