Skip to content

Instantly share code, notes, and snippets.

View tushar-dadlani's full-sized avatar

Tushar Dadlani tushar-dadlani

  • Walmart
  • San Francisco, CA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tushar-dadlani on github.
  • I am tushardadlani (https://keybase.io/tushardadlani) on keybase.
  • I have a public key whose fingerprint is D4D9 A32C 2C84 4094 7B7A EC2B 7571 D499 6CB4 451F

To claim this, I am signing this object:

open http://whiteboard.pivotallabs.com/standups/117/items
open https://pivotal.zoom.us/j/479823115
@tushar-dadlani
tushar-dadlani / pre-commit.sh
Last active December 26, 2015 12:19
pre-commit script for whiteboard. This script checks for syntax errors in models and controllers. This also runs the spec_no_rails test cases and doesn't allow a commit to happen if a test case is failing.
#!/bin/bash
# Derived from https://github.com/depy/my-git-hooks/blob/master/run-rspec-test-pre-commit
# Github username of original source: depy
# Author: Tushar Dadlani
# Instructions to install
# Copy this file to YOUR_RAILS_ROOT/.git/hooks/pre-commit.sh
# mv pre-commit.sh pre-commit
# chmod +x pre-commit