Last active
August 29, 2015 14:08
-
-
Save gsmendoza/2616e96010bbf0a4e76d to your computer and use it in GitHub Desktop.
Run specs modified since master commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'rspec' do | |
watch(%r{^(app|config|lib|spec/support)/}) do | |
`git diff --name-only master`.split("\n").select do |path| | |
path =~ %r{spec/.*_spec.rb} | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment