Skip to content
Potentially useful android hooks.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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.

You can’t perform that action at this time.