Move appdata check to Makefile

This makes it simple to use without building the package and prevents
overpopulating `override_dh_auto_test`.
This commit is contained in:
Guido Günther 2020-11-23 14:20:09 +01:00
parent 7bad418b47
commit 9b5f4657a9
2 changed files with 12 additions and 3 deletions

View File

@ -1,2 +1,13 @@
all:
APPDATA = \
org.librem5.goodies.appdata.xml \
$(NULL)
all: shell-check appstream-check
shell-check:
shellcheck l5-contacts-importer l5-screenshot l5-scale-the-screen
appstream-check:
appstream-util validate-relax $(APPDATA)
.PHONY: all shell-check appstream-check

2
debian/rules vendored
View File

@ -6,5 +6,3 @@
override_dh_auto_test:
make
dh_command:
appstream-util validate-relax org.librem5.goodies.appdata.xml