Skip to content
Browse files

Adds guard for faster spec feedback

  • Loading branch information...
1 parent 91841c8 commit 76cec3c44191dac6f97d12cbeea4b547748f8572 @benedikt benedikt committed May 10, 2012
Showing with 6 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +5 −0 Guardfile
View
1 Gemfile
@@ -5,3 +5,4 @@ gemspec
gem "awesome_print"
gem "yard"
gem "redcarpet"
+gem "guard-rspec"
View
5 Guardfile
@@ -0,0 +1,5 @@
+guard 'rspec', :version => 2, :all_on_start => true, :all_after_pass => true do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end

0 comments on commit 76cec3c

Please sign in to comment.
Something went wrong with that request. Please try again.