Commit 8893fa07 authored by Vanadiae's avatar Vanadiae Committed by Christian Hergert
Browse files

beautifier: Warn at build-time of missing beautifier programs

parent 25eb3a4e
Pipeline #267500 canceled with stages
in 1 minute and 14 seconds
......@@ -14,6 +14,20 @@ plugin_beautifier_resources = gnome.compile_resources(
c_name: 'gbp_beautifier',
)
beautifiers = [
'autopep8',
'tidy',
'uncrustify',
'xmllint',
]
# Only indicate the missing beautifiers at build time, but don't require them strongly.
foreach beautifier : beautifiers
program = find_program(beautifier, required: false)
if not program.found()
message('Please install beautifier @0@ as runtime dependency'.format(beautifier))
endif
endforeach
plugins_sources += plugin_beautifier_resources
endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment