Skip to content

gspot/generated-files

Compares generated files with the settings and reports changed, missing, and stray ones, and any with merge conflict markers.

Part of the gspot configuration, at the recommended level. It runs at the commit stage, once for the repository. gspot runs this check itself.

A generated file that drifts from gspot.toml runs a tool with settings nobody chose.

Change gspot.toml, then run gspot apply. After a merge, run gspot apply, followed by gspot install.

An edit by hand to a generated tool file reports drift. Move the change into gspot.toml, then run gspot apply.

Turn it off for some files, with a reason:

gspot ignore gspot/generated-files --paths "<glob>" --reason "<why>"