2018-01-31 15:19:37 +01:00
|
|
|
#!/bin/bash
|
2017-09-04 23:12:35 +02:00
|
|
|
|
|
|
|
# Fix TypographyEllipsis programmatically
|
|
|
|
|
|
|
|
sed -i 's/\.\.\./…/g' app/src/main/res/values*/*.xml
|
2018-01-31 15:19:37 +01:00
|
|
|
if git diff | grep -Eo '^\+.*…'; then
|
|
|
|
echo Fix TypographyEllipsis
|
|
|
|
exit 1
|
|
|
|
fi
|