forked from workbenchdev/Workbench
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (17 loc) · 1017 Bytes
/
Makefile
File metadata and controls
20 lines (17 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.PHONY: lint test
lint:
./node_modules/.bin/rome ci src test
test: lint
./troll/tst/bin.js test/*.test.js
# https://github.com/ximion/appstream/issues/398#issuecomment-1129454985
# flatpak run org.freedesktop.appstream.cli validate --override=release-time-missing=info --no-net data/app.metainfo.xml
# desktop-file-validate --no-hints data/app.desktop
# https://discourse.gnome.org/t/gtk-builder-tool-requires-and-libraries/9222
# gtk-builder-tool validate src/*.ui
flatpak-builder --show-manifest re.sonny.Workbench.json > /dev/null
flatpak-builder --show-manifest re.sonny.Workbench.Devel.json > /dev/null
find po/ -type f -name "*po" -print0 | xargs -0 -n1 msgfmt -o /dev/null --check
flatpak run --command=flatpak-builder-lint org.flatpak.Builder --exceptions re.sonny.Workbench.json
flatpak run org.flathub.flatpak-external-data-checker re.sonny.Workbench.json
# as used by Flathub
# flatpak run --env=G_DEBUG=fatal-criticals --command=appstream-util org.flatpak.Builder validate data/app.metainfo.xml