Commit 4eaab043 authored by Christopher Davis's avatar Christopher Davis 🌱

build: add test to validate appdata file

See Initiatives#8 for details
parent 1fe785f3
Pipeline #61623 failed with stage
in 1 minute and 34 seconds
......@@ -73,6 +73,16 @@ appdata = i18n.merge_file(
po_dir: join_paths(meson.source_root(), 'po')
)
# Validating app data
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
'validate-relax', '--nonet', appdata.full_path()
]
)
endif
configure_file(
input: application_id_stable + '.service.in',
......
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