mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-04-08 13:00:18 +00:00
test: Switch to appstreamcli for metainfo validation.
This commit is contained in:
@@ -13,10 +13,10 @@ if get_option('gtk-frontend')
|
||||
install_dir: metainfodir
|
||||
)
|
||||
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
if appstream_util.found()
|
||||
test('Validate net.zoite.Zoitechat.appdata.xml', appstream_util,
|
||||
args: ['validate-relax', zoitechat_appdata]
|
||||
appstreamcli = find_program('appstreamcli', required: false)
|
||||
if appstreamcli.found()
|
||||
test('Validate net.zoite.Zoitechat.appdata.xml', appstreamcli,
|
||||
args: ['validate', zoitechat_appdata]
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user