Skip to content
Sarj Repo Standards

makefile-growth

New or larger Makefiles need an exception.

Examples

Existing Makefile grows between Git snapshots

Before — rejected · error
{"base":{"Makefile":2},"head":{"Makefile":3}}
After — preferred
{"base":{"Makefile":2},"head":{"Makefile":2}}
More cases 1

An empty Makefile is still a new artifact

Before — rejected · error
{"base":{},"head":{"tools/Makefile":0}}
After — preferred
{"base":{},"head":{}}

Enable this rule

Add the stable ID to enabled_rules in your tracked .repo-standards/repository.toml:

enabled_rules = ["repository/artifacts/makefile-growth"]

This selects only this rule. To retain the defaults, also include repository/artifacts/untyped-javascript and repository/artifacts/bespoke-iac-verifiers, along with any existing IDs. Omitted or empty selections use the defaults. Setup and staged checks