summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/tidy.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/scripts/tidy.sh b/android/scripts/tidy.sh
index 8e0546046b..a31be34233 100755
--- a/android/scripts/tidy.sh
+++ b/android/scripts/tidy.sh
@@ -37,6 +37,16 @@ function format {
../app/src/main/res/anim*/*.xml \
../app/src/main/res/drawable*/*.xml \
../app/src/main/res/layout*/*.xml \
+
+ tidy -xml \
+ -m \
+ -i \
+ -w 0 \
+ -utf8 \
+ --quiet yes \
+ --indent-spaces 4 \
+ --literal-attributes yes \
+ --indent-cdata yes \
../app/src/main/res/values/*.xml
# FIXME - when tidy learns to not leave whitespace around, remove the line below - https://github.com/htacg/tidy-html5/issues/864