vendored-meson/meson/test cases/format/2 muon/meson.build
raw| 1 | # This file is for testing meson format is compatible with muon format |
| 2 | |
| 3 | project('default format') |
| 4 | |
| 5 | meson_cmd = find_program('meson') |
| 6 | meson_files = { |
| 7 | 'self': files('meson.build'), |
| 8 | 'comments': files('crazy_comments.meson'), |
| 9 | 'indentation': files('indentation.meson'), |
| 10 | } |
| 11 | |
| 12 | foreach name, f : meson_files |
| 13 | test(name, meson_cmd, args: ['fmt', '-q', '-c', files('muon.ini'), f]) |
| 14 | endforeach |