Potentially useful android hooks.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
license
pre-commit.lintcheck

README.md

android-hooks

A potentially useful pre-commit hook for Android developers using git.

pre-commit.lintcheck

The lintcheck pre-commit hook runs lint --exitcode . before allowing a commit to occur. If lint returns a non-zero exit code, it will fail the commit. Users can customize their hook using git config values for hooks.lintTargetDirectory to change the directory to check and hooks.lintArgs to add lint arguments they prefer to use, such as -Werror.