chore: Make meson doublecheck only available if the script exists
We won't have it in the distribution tarballs. Signed-off-by: Michael Vetter <jubalh@iodoru.org>
This commit is contained in:
@@ -726,9 +726,12 @@ if get_option('tests')
|
||||
endif
|
||||
endif
|
||||
|
||||
run_target('doublecheck',
|
||||
command: ['scripts/lint-and-test.sh', '--fix-formatting', '--meson']
|
||||
)
|
||||
lint_and_test = find_program('scripts/lint-and-test.sh', required: false)
|
||||
if lint_and_test.found()
|
||||
run_target('doublecheck',
|
||||
command: [lint_and_test, '--fix-formatting', '--meson']
|
||||
)
|
||||
endif
|
||||
|
||||
summary({
|
||||
'Platform': platform,
|
||||
|
||||
Reference in New Issue
Block a user