Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
calls
Commits
0a7330a7
Commit
0a7330a7
authored
Jun 11, 2018
by
Bob Ham
Browse files
data: Fix tests for desktop and appstream files
parent
4d453f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
data/meson.build
View file @
0a7330a7
...
@@ -6,9 +6,10 @@ install_data('sm.puri.Calls.desktop',
...
@@ -6,9 +6,10 @@ install_data('sm.puri.Calls.desktop',
desktop_utils = find_program('desktop-file-validate', required: false)
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
test('Validate desktop file', desktop_utils,
args: ['sm.puri.Calls.desktop']
args: [join_paths(meson.current_source_dir(),
)
'sm.puri.Calls.desktop')
])
endif
endif
# Appdata file
# Appdata file
...
@@ -18,9 +19,11 @@ install_data('sm.puri.Calls.appdata.xml',
...
@@ -18,9 +19,11 @@ install_data('sm.puri.Calls.appdata.xml',
appstream_util = find_program('appstream-util', required: false)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
if appstream_util.found()
test('Validate appstream file', appstream_util,
test('Validate appstream file', appstream_util,
args: ['validate-relax', 'sm.puri.Calls.appdata.xml']
args: ['validate-relax',
)
join_paths(meson.current_source_dir(),
'sm.puri.Calls.appdata.xml')
])
endif
endif
# Icons
# Icons
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment