mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Merge pull request #548 from ximion/master
Use modern appstream, instead of appstream-util for validation
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
appstream_util = find_program('appstream-util', required: false)
|
appstream_cli = find_program('appstreamcli', required: false)
|
||||||
if appstream_util.found()
|
if appstream_cli.found()
|
||||||
test('Validate appstream file',
|
test('Validate appstream file',
|
||||||
appstream_util,
|
appstream_cli,
|
||||||
args: [
|
args: [
|
||||||
'validate-relax',
|
'validate',
|
||||||
'--nonet',
|
'--no-net',
|
||||||
|
'--explain',
|
||||||
join_paths(meson.current_source_dir(), 'metainfo', 'com.github.rafostar.Clapper.metainfo.xml'),
|
join_paths(meson.current_source_dir(), 'metainfo', 'com.github.rafostar.Clapper.metainfo.xml'),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user