Skip to content

Instantly share code, notes, and snippets.

@jbodah
Created January 13, 2016 20:58
Show Gist options
  • Save jbodah/6c3448056d1fe727de10 to your computer and use it in GitHub Desktop.
Save jbodah/6c3448056d1fe727de10 to your computer and use it in GitHub Desktop.
syntax check
##
# 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