Skip to content

Instantly share code, notes, and snippets.

@kbaribeau
Created March 2, 2011 17:22
Show Gist options
  • Save kbaribeau/851314 to your computer and use it in GitHub Desktop.
Save kbaribeau/851314 to your computer and use it in GitHub Desktop.
run a set of ruby specs based on a git grep search
git grep 'thing_to_search_for' | grep spec | grep -v vendor | grep rb: | awk '{print $1}' | sed -e 's/.$//' | uniq | xargs spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment