Add app-data-validate for metainfo.xml

Closes #82
This commit is contained in:
Kyrylo Gliebov 2019-01-15 14:59:17 +01:00 committed by Martin Pitt
parent f6430895c7
commit 1dd8711512
2 changed files with 2 additions and 0 deletions

View file

@ -88,6 +88,7 @@ devel-install: $(WEBPACK_TEST)
# ship a stub node_modules/ so that `make` works without re-running `npm install`
dist-gzip: NODE_ENV=production
dist-gzip: all cockpit-$(PACKAGE_NAME).spec
if type appstream-util >/dev/null 2>&1; then appstream-util validate-relax --nonet *.metainfo.xml; fi
mv node_modules node_modules.release
mkdir -p $(NODE_MODULES_TEST)
touch -r package.json $(NODE_MODULES_TEST)