Files
squeekboard/meson_options.txt
Dorota Czaplejewicz d26927dc44 tests: Check for orphaned layout files
This adds a test which scans the layouts directory for files which have not been added to the resources file.
The majority os user-submitted layouts don't include layout registration, and I ran out of ideas for how to make it more visible in the documentation. Instead, it's going to be solved on the other side: the CI pipelines shall fail.

To make it easy on experimenters with untidy trees, it's disabled by default.
2022-09-15 14:13:40 +00:00

29 lines
1019 B
Meson

option('depdatadir',
type : 'string',
value : '',
description : 'System data path. Will be searched for definitions instead of datadir when provided')
option('tests',
type: 'boolean', value: true,
description: 'Whether to compile unit tests')
option('find_orphans',
type: 'boolean', value: false,
description: 'Check if all present layout files are included in resources.')
option('newer',
type: 'boolean', value: false,
description: 'Build with dependencies newer than those of Byzantium')
option('online',
type: 'boolean', value: true,
description: 'Pull packages from the internet while building, as opposed to a local regstry.')
option('reset_lock',
type: 'boolean', value: true,
description: 'Resets Cargo.lock to the one found in the source repo. Does not affect builds with online == false.')
option('strict',
type: 'boolean', value: true,
description: 'Turn more warnings into errors')