mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 16:50:44 +02:00
26 lines
445 B
Bash
26 lines
445 B
Bash
#!/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
|