1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 05:52:57 +01:00
Gadgetbridge/config/travis/validate_fastlane_metadata.sh

26 lines
445 B
Bash
Raw Normal View History

#!/usr/bin/env bash
exitcode=0
for file in fastlane/metadata/android/*/full_description.txt
do
chars=$(cat $file | wc -m)
if [ "$chars" -gt 4000 ]
then
echo "$file too long"
let exitcode++
fi
done
for file in fastlane/metadata/android/*/short_description.txt
do
chars=$(cat $file | wc -m)
if [ "$chars" -gt 80 ]
then
echo "$file too long"
let exitcode++
fi
done
exit $exitcode