Permalink
Browse files

Add Guard

  • Loading branch information...
1 parent b4cbb4a commit 9977ba5bea3e0e29a65cbadc62979f41e887601f @mattyoho committed Oct 14, 2011
Showing with 11 additions and 0 deletions.
  1. +5 −0 Gemfile
  2. +6 −0 Guardfile
View
@@ -11,3 +11,8 @@ gem "actionpack", "> 3.0.0"
gem "ruby-debug", "~> 0.10.4", :platforms => :mri_18
gem "ruby-debug19", "~> 0.11.6", :platforms => :mri_19
+
+gem "guard"
+gem "guard-rspec"
+gem "rb-fsevent"
+gem "growl"
View
@@ -0,0 +1,6 @@
+guard 'rspec' 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 9977ba5

Please sign in to comment.