Skip to main content
glua_check runs the same checks as the editor, without opening an editor. Use it in CI to catch problems before they are merged.

Install

Download glua_check for Windows or Linux from the GitHub releases, or install it with Cargo:
glua_check needs the Garry’s Mod annotations. Download the gluals-annotations branch and pass its folder with --gmod-annotations.

Check a project

It reads .gluarc.json from the project and prints every warning and error. It exits with code 1 when it finds an error. Add --warnings-as-errors to fail on warnings too. Pass several folders to check them together, like a multi-root workspace.

Options

SARIF output works with GitHub code scanning, which shows the results on pull requests.