Build tools for pre commit to git repos
Java JavaScript
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.
JSLint @ cf64ae0
csslint @ 554f126
jslint4java/jslint4java-2.0.0
php
rhino/rhino1_7R3
.gitignore
.gitmodules
README.md
pre-commit

README.md

build-tools

Build tools for pre commit to git repos

Installation

  1. Copy the pre-commit file to you .git/hooks/ folder
  2. Update the ABS_PATH to point to the location of the build tool folder
  3. Make the pre pre-commit file writable chmod -x pre-commit
  4. Commit away & be forever irritated by PHP/JS/CSS lint warnings.

Requirements

JSLint4Java and CSS require Java to be installed on your system.