mix gamend.gdscript.compile (gamend_plugin_tools v1.0.1212)

Copy Markdown View Source

Compiles every scripts/*.gd in the current plugin into Elixir source under gen/.

mix gamend.gdscript.compile
mix gamend.gdscript.compile --check

The generated files are committed, not build output: they are what stack traces name, and reviewing their diff is how a codegen change gets reviewed.

--check regenerates in memory and fails if anything on disk differs, which is the CI gate against a stale gen/ -- the same shape as mix gamend.settings.env_example --check.

Options:

  • --check - verify gen/ is up to date, write nothing
  • --src - script directory (default scripts)
  • --out - output directory (default gen)