Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
fix(scripts): Fix before-push that was always succeeding
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelastic committed Jul 28, 2015
1 parent b1f8b6f commit c0db6f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/git_hooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
#!/usr/bin/env bash

# Succeed fast if we did not change any ruby file
if ! git status --short | grep -q '\.rb$'; then
exit 0
fi

rake spec || exit 1

# No over-complex methods
Expand Down

0 comments on commit c0db6f4

Please sign in to comment.