Permalink
Browse files

Setting up guard

  • Loading branch information...
1 parent 474d0ee commit a008ed2688cd120f04e2e3dd9763d1b104720f26 @benhutton benhutton committed Jul 6, 2012
Showing with 11 additions and 0 deletions.
  1. +9 −0 Guardfile
  2. +2 −0 google-checkout-polling.gemspec
View
9 Guardfile
@@ -0,0 +1,9 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
+
View
2 google-checkout-polling.gemspec
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
gem.version = GoogleCheckoutPolling::VERSION
gem.add_development_dependency 'rspec'
+ gem.add_development_dependency "guard"
+ gem.add_development_dependency "guard-rspec"
end

0 comments on commit a008ed2

Please sign in to comment.