Fix syntax error in the command + add colors
This commit is contained in:
parent
2f1389abd6
commit
6addff7251
|
@ -61,8 +61,10 @@ translation:
|
|||
before_script:
|
||||
- *apt_get_update
|
||||
- apt-get install --yes gettext > /dev/null
|
||||
# We cannot use a simple "find ... -exec msgcmp {} strings.po" because it
|
||||
# would always return 0 as exit code
|
||||
script:
|
||||
- files=$(find . -name strings.po -not -path './resources/language/resource.language.en_gb/*') && for file in files; do msgcmp $file ./resources/language/resource.language.en_gb/strings.po; done
|
||||
- files=$(find . -name strings.po -not -path './resources/language/resource.language.en_gb/*') && for file in $files; do echo -e "\n\033[94mChecking translation file $file\033[0m"; msgcmp $file ./resources/language/resource.language.en_gb/strings.po; done
|
||||
|
||||
# Pre-release job: will be available in all the merge requests with release
|
||||
# branches in order to verify the release can be actually created. The
|
||||
|
|
Loading…
Reference in New Issue