Created
January 13, 2016 20:58
-
-
Save jbodah/6c3448056d1fe727de10 to your computer and use it in GitHub Desktop.
syntax check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Run syntax checks before pushing | |
# | |
# Installation: | |
# 1. Copy this gist to .git/hooks/pre-push | |
# 2. chmod +x .git/hooks/pre-push | |
# | |
# NOTE: you can also just call `bundle exec rubocop --auto-correct` if you would rather | |
#! /usr/bin/env sh | |
bundle exec rake syntax:all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment