Skip to content
Browse files

build Guardfile

Signed-off-by: Tyler Pickett <t.pickett66@gmail.com>
  • Loading branch information...
1 parent e9b0d6a commit b7a4f6542aee4e7a3424ffa13f5c2d46ed7f9fd4 @tpickett66 tpickett66 committed Oct 3, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 Guardfile
View
8 Guardfile
@@ -0,0 +1,8 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'rspec', :cli => "--colour --format nested" do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end

0 comments on commit b7a4f65

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