Sha256: a8269b74cb4941b1610c19175de3446e669d6ad481174d21261f24309c315619
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
#!/usr/bin/env bash echo "Starting unit tests" bundle exec rake test if [ $? -ne 0 ]; then echo "" echo "" echo "Unit tests failed; push aborted!" exit 1 fi echo echo "Starting rubocop" bundle exec rubocop --format worst --format simple --format offenses if [ $? -ne 0 ]; then echo "" echo "" echo "Rubocop failed; push aborted!" exit 1 fi echo echo "All pre-push checks passed! Pushing to remote"
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
slayer-0.4.0.beta2 | .githooks/pre-push |
gitodo-0.1.0 | .githooks/pre-push |
slayer-0.3.1 | .githooks/pre-push |
slayer-0.3.0 | .githooks/pre-push |
slayer-0.2.1 | .githooks/pre-push |