1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

ci: Complain about untranslated ui files

This commit is contained in:
Evangelos Ribeiro Tzaras 2021-10-01 18:34:55 +02:00
parent daebcf543a
commit f44f643ae9

View file

@ -70,11 +70,11 @@ check-po:
- apt-get -y update - apt-get -y update
- apt-get -y install intltool - apt-get -y install intltool
script: script:
# barf on untranslated C files. Seems intltool # barf on untranslated C or UI files. Seems intltool
# can't be told to exit with non-zero exit status # can't be told to exit with non-zero exit status
# in this case # in this case
- cd po/ - cd po/
- intltool-update -m 2>&1 | grep -qs '/.*\.c' && { intltool-update -m; exit 1; } || exit 0 - intltool-update -m 2>&1 | grep -qs '/.*\.\(c|ui\)' && { intltool-update -m; exit 1; } || exit 0
validate-metadata-pedantic: validate-metadata-pedantic:
stage: test stage: test