Skip to content

Commit

Permalink
Only permit native Meson wraps.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpakkane authored and eli-schwartz committed May 6, 2024
1 parent 933a726 commit 6c17604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sanity_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ def test_releases(self):
self.check_has_no_path_separators(wrap_section['source_filename'])
self.assertIn('source_url', wrap_section)
self.assertIn('source_hash', wrap_section)
self.assertEqual('meson', wrap_section.get('method', 'meson').strip(),
'WrapDB only accepts wraps that use the "meson" method for compiling.')

# FIXME: Not all wraps currently comply, only check for wraps we modify.
if extra_checks and self.ci_config.get(name, {}).get('has_provides', True):
Expand Down

0 comments on commit 6c17604

Please sign in to comment.