mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 06:44:00 +00:00
This CL makes the ktfmt hook use the bash wrapper introduced in ag/I8746885396c7837a2a6b2a42dca780da290ed582 instead of directly executing the ktfmt.jar, now that gLinux is not able to execute JAR files directly anymore. Bug: 342153000 Test: Manual, verified that the ktfmt hook was working Flag: EXEMPT repo hook Change-Id: Ib3baec68951bb185e79638b5b3003f8403816b19
14 lines
440 B
INI
14 lines
440 B
INI
[Builtin Hooks]
|
|
ktfmt = true
|
|
|
|
[Builtin Hooks Options]
|
|
ktfmt = --kotlinlang-style
|
|
|
|
[Tool Paths]
|
|
ktfmt = ${REPO_ROOT}/external/ktfmt/ktfmt.sh
|
|
|
|
[Hook Scripts]
|
|
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --config_xml tools/checkstyle.xml --sha ${PREUPLOAD_COMMIT}
|
|
|
|
flag_hook = ${REPO_ROOT}/frameworks/base/packages/SystemUI/flag_check.py --msg=${PREUPLOAD_COMMIT_MESSAGE} --files=${PREUPLOAD_FILES} --project=${REPO_PATH}
|