summaryrefslogtreecommitdiffhomepage
path: root/android
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-04-24 15:52:41 +0200
committerAlbin <albin@mullvad.net>2023-04-24 15:56:20 +0200
commit2fde88c4822fbecd1281a9c735d1e73e56824f16 (patch)
tree890d6ceabbfcb097f37cf3ba30a58bba84825ccc /android
parent78f0225042232f053d3c5df5e90461531a120f4b (diff)
downloadmullvadvpn-2fde88c4822fbecd1281a9c735d1e73e56824f16.tar.xz
mullvadvpn-2fde88c4822fbecd1281a9c735d1e73e56824f16.zip
Update tidy readme information
Diffstat (limited to 'android')
-rw-r--r--android/README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/android/README.md b/android/README.md
index 92c1832f74..57e428eaa7 100644
--- a/android/README.md
+++ b/android/README.md
@@ -40,8 +40,18 @@ Also, see the [`ktfmt` gradle plugin documentation](https://github.com/cortinico
how to use it as a gradle task.
### XML formatting
-`tidy` is used for XML resource formatting. `tidy` is a separate tool which has to be installed
-unless the container image (which includes `tidy`) is used.
+In order to format XML files, the script `scripts/tidy.sh` is used. As the script name implies, it's basically a helper script to run the tool called `tidy`. It needs to be installed unless the
+container image is used.
+
+Command to format:
+```
+scripts/tidy.sh format
+```
+
+Command to format and check for any changes:
+```
+scripts/tidy.sh formatAndCheckDiff
+```
### Android Gradle Plugin lint tool