Sha256: 32d3af2b69270c0012465bacdb472463056d3f22855e28b39fedd8025b010cf7
Contents?: true
Size: 478 Bytes
Versions: 18
Compression:
Stored size: 478 Bytes
Contents
#! /usr/bin/env bash # # This hook runs on `git commit` and will prevent you from committing without # approval from the linter and tests. # # To run, this file must be symlinked to: # .git/hooks/pre-commit # # To bypass this hook, run: # $ git commit --no-verify # $ git commit -n echo "Running linter..." bundle exec rake standard linter_status=$? if [ $linter_status -ne 0 ]; then echo "Fix above before committing. Run 'git commit -n' to bypass linter." exit 1 fi
Version data entries
18 entries across 18 versions & 1 rubygems