gleam-lang/gleam

have `gleam check`, `gleam build` validate the gleam.toml schema

Open

#5301 aperta il 19 gen 2026

Vedi su GitHub
 (13 commenti) (0 reazioni) (0 assegnatari)Rust (960 fork)batch import
help wanted

Metriche repository

Star
 (21.417 star)
Metriche merge PR
 (Merge medio 10g 19h) (69 PR mergiate in 30 g)

Descrizione

Currently the inclusion of a spurious field in gleam.toml goes silently unremarked upon.

This caused me some grief just now as I didn't spot that a local dependency list should appear under [dependencies] not above it.

The proposal would be for gleam build to report the presence of unrecognized/unsupported fields in gleam.toml before it tries to build anything, i.e., for gleam build to validate the gleam.toml schema. (As versioned by the Gleam version.)

Guida contributor