mirror of
				https://github.com/Rafostar/clapper.git
				synced 2025-10-31 10:25:45 +01:00 
			
		
		
		
	meson: Validate appstream file with "--nonet" arg
We do not need network connection to validate our appstream file. Make it easier to run tests in containers that do not have network access. Closes #307
This commit is contained in:
		| @@ -3,7 +3,7 @@ iconsdir = join_paths(datadir, 'icons', 'hicolor') | |||||||
| 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, args: [ |   test('Validate appstream file', appstream_util, args: [ | ||||||
|     'validate-relax', |     'validate-relax', '--nonet', | ||||||
|     join_paths(meson.current_source_dir(), 'com.github.rafostar.Clapper.metainfo.xml') |     join_paths(meson.current_source_dir(), 'com.github.rafostar.Clapper.metainfo.xml') | ||||||
|   ]) |   ]) | ||||||
| endif | endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user