diff options
| author | Albin <albin@mullvad.net> | 2023-04-25 10:37:19 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-04-25 10:37:19 +0200 |
| commit | ef0e872aedbe482bc4c70b28755d384e1126a944 (patch) | |
| tree | bfc12e47e37f597f1fe0371050b7af11a1318849 /android/scripts | |
| parent | 20f3e70c734e7c82707b19e274377b8ee3066ed2 (diff) | |
| parent | 946e277c6a66a9fe383a43c6ccc7330c342832b8 (diff) | |
| download | mullvadvpn-ef0e872aedbe482bc4c70b28755d384e1126a944.tar.xz mullvadvpn-ef0e872aedbe482bc4c70b28755d384e1126a944.zip | |
Merge branch 'format-stringsxml-separately-droid-118'
Diffstat (limited to 'android/scripts')
| -rwxr-xr-x | android/scripts/tidy.sh | 10 |
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 |
