diff options
author | 2024-01-18 08:02:50 +0000 | |
---|---|---|
committer | 2024-01-18 08:17:29 +0000 | |
commit | f7c406c2baa1814b2acd45ceabc30f45f6a2576b (patch) | |
tree | 973a9aea57df78a82bc0ba821c1b620310d381cf /tools | |
parent | 5abadae00a9f9944538a9a85c9f056a9228c69c3 (diff) |
Add ktfmt, ktlint and bpfmt hooks to MediaProvider
Test: n/a
Bug: n/a
Change-Id: I5d2865bc25702822132ee1618fff21bedc8338f3
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ktfmt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ktfmt b/tools/ktfmt new file mode 100644 index 000000000..eafad1915 --- /dev/null +++ b/tools/ktfmt @@ -0,0 +1,5 @@ + #!/usr/bin/env bash + +ROOT=$(dirname "$(realpath "$0")")/../../../../ + +"$ROOT/prebuilts/jdk/jdk17/linux-x86/bin/java" -jar "$ROOT/prebuilts/build-tools/common/framework/ktfmt.jar" "$@" |