mix glean.gen (Gleanex v0.1.0)

Copy Markdown View Source

Run code generation for all four Glean APIs.

mix glean.gen
mix glean.gen platform

This is a thin wrapper around mix api.gen, which has to be run once per profile. Each profile writes to its own directory under lib/gleanex/, and those directories are cleared first so that operations Glean has removed do not linger as stale files.

Descriptions come from priv/openapi/; run mix glean.specs first to update them. Regeneration is deterministic, so a run with unchanged descriptions should leave the working tree clean.

Arguments

Zero or more profile names (client, indexing, platform, admin). Defaults to all four.