summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
blob: ed865dd18539b6c75186aa3fa5a874d27af76616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Builtin Hooks]
bpfmt = true
clang_format = true
ktfmt = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
ktfmt = --kotlinlang-style --include-dirs=photopicker

[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py --no-verify-format -f ${PREUPLOAD_FILES}

[Tool Paths]
ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh