mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 05:56:22 +00:00
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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
run_target('doublecheck',
|
lint_and_test = find_program('scripts/lint-and-test.sh', required: false)
|
||||||
command: ['scripts/lint-and-test.sh', '--fix-formatting', '--meson']
|
if lint_and_test.found()
|
||||||
)
|
run_target('doublecheck',
|
||||||
|
command: [lint_and_test, '--fix-formatting', '--meson']
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
summary({
|
summary({
|
||||||
'Platform': platform,
|
'Platform': platform,
|
||||||
|
|||||||
Reference in New Issue
Block a user