Skip to content

Commit

Permalink
appdata: use --no-net for validation
Browse files Browse the repository at this point in the history
This option uses offline validation and limits checking URLs
during the build process. It prevents irrelevant requests
to the servers.
  • Loading branch information
yakushabb authored and rafaelmardojai committed Nov 21, 2023
1 parent 478c4a4 commit 9975da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ appstream_file = i18n.merge_file(
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', appstream_file.full_path()]
args: ['validate', '--no-net', appstream_file.full_path()]
)
endif

Expand Down

0 comments on commit 9975da9

Please sign in to comment.