This pre-commit hook is checks the files being committed to fits two rules:
- No syntax error (both for Ruby and YAML files)
- If this is an TestUnit, Cucumber, or RSpec test, it should pass
- Add checks for XML files
- Add checks for deep checks for .rb files
- Make it configurable from project's code