Skip to content

Commit

Permalink
🐛(meson.options): yield dependencies and suite settings to superproject
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 1, 2024
1 parent 79e1534 commit 1221540
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions meson.options
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ option(
type: 'array',
description: 'sanity check module dependencies',
value: ['setuptools_scm', 'piptools', 'setuptools', 'ninja', 'mesonbuild'],
yield: true,
)

option(
Expand Down Expand Up @@ -55,14 +56,14 @@ option(
)

option('unhashable', type: 'array', value: ['source-to-build'])
option('dist-priority', type: 'integer', value: 1)
option('docs-priority', type: 'integer', value: 3)
option('lint-priority', type: 'integer', value: 4)
option('test-priority', type: 'integer', value: 2)
option('dist-timeout-multiplier', type: 'integer', value: 1)
option('docs-timeout-multiplier', type: 'integer', value: 1)
option('lint-timeout-multiplier', type: 'integer', value: 1)
option('test-timeout-multiplier', type: 'integer', value: 30)
option('dist-priority', type: 'integer', value: 1, yield: true)
option('docs-priority', type: 'integer', value: 3, yield: true)
option('lint-priority', type: 'integer', value: 4, yield: true)
option('test-priority', type: 'integer', value: 2, yield: true)
option('dist-timeout-multiplier', type: 'integer', value: 1, yield: true)
option('docs-timeout-multiplier', type: 'integer', value: 1, yield: true)
option('lint-timeout-multiplier', type: 'integer', value: 1, yield: true)
option('test-timeout-multiplier', type: 'integer', value: 30, yield: true)
option('dist-exclude-suites', type: 'array', value: ['docs', 'lint', 'test'])
option('docs-exclude-suites', type: 'array', value: ['dist', 'lint', 'test'])
option('lint-exclude-suites', type: 'array', value: ['docs', 'dist', 'test'])
Expand All @@ -72,12 +73,14 @@ option(
type: 'array',
description: '--setup=dist',
value: ['sigstore'],
yield: true,
)
option(
'docs-suite',
type: 'array',
description: '--setup=docs',
value: [],
yield: true,
)
option(
'lint-suite',
Expand Down Expand Up @@ -106,6 +109,7 @@ option(
'flake8-pyi',
'readme-renderer',
],
yield: true,
)
option(
'test-suite',
Expand All @@ -121,6 +125,7 @@ option(
'pytest-tcpclient',
'pytest-randomly',
],
yield: true,
)
option(
'should-fail',
Expand Down

0 comments on commit 1221540

Please sign in to comment.