Created
December 3, 2015 10:03
-
-
Save nyku/70df9472056b0992843a to your computer and use it in GitHub Desktop.
Run specs
This file contains 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
ruby -e 'p `git status`.split("\n").select {|l|l.match("modified")}.map {|l|l.gsub(/\tmodified:\s+|app\/|\.rb/, "")}.delete_if {|l|l.match(/scss|yml|haml|_spec/)}.map {|l|"spec/#{l}_spec.rb"}.join(" ")' | xargs echo | xargs rspec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment