chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:00 +08:00
commit 3de48288cb
2986 changed files with 1131193 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Guarded wrapper around `ktlint`, invoked by the android-ktlint-* pre-commit
# hooks. On CI the lint workflow installs ktlint before running pre-commit.
# On developer machines, install ktlint (e.g. `brew install ktlint`) to enable
# the hooks locally; the wrapper exits 0 cleanly if ktlint is absent so that a
# missing binary doesn't block commits on machines without it installed.
set -euo pipefail
if ! command -v ktlint >/dev/null 2>&1; then
exit 0
fi
exec ktlint "$@"