summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-08-12 11:10:13 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-08-12 11:11:55 +0000
commit93d92a7ab0d64f7f2f92a4b35bb2832aef6439e4 (patch)
tree1eed0bc22c0c6f3347c8881d3df8fed7727921b9
parentf7e9282e026e0505cc85df51cf080c0a0608fbee (diff)
downloadmullvadvpn-93d92a7ab0d64f7f2f92a4b35bb2832aef6439e4.tar.xz
mullvadvpn-93d92a7ab0d64f7f2f92a4b35bb2832aef6439e4.zip
Don't format generated XML files
-rw-r--r--ci/ci-android-xml.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/ci-android-xml.sh b/ci/ci-android-xml.sh
index 24a603ff4f..ed04bfd691 100644
--- a/ci/ci-android-xml.sh
+++ b/ci/ci-android-xml.sh
@@ -13,7 +13,12 @@ function tidy-up-android-xml {
--indent-attributes yes \
--indent-spaces 4 \
--literal-attributes yes \
- android/src/main/AndroidManifest.xml android/src/main/res/*/*.xml
+ android/src/main/AndroidManifest.xml \
+ android/src/main/res/anim*/*.xml \
+ android/src/main/res/drawable*/*.xml \
+ android/src/main/res/layout*/*.xml \
+ android/src/main/res/mipmap*/*.xml \
+ android/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
find android/src/main/ -name '*.xml' -exec sed -i -e 's/[ \t]*$//' '{}' ';'