Permalink
Browse files

adding its own guard

  • Loading branch information...
1 parent 2c9d90b commit a411363c5d5c9a29ea230cdea2e6b2524157c374 @carhartl committed Feb 28, 2011
Showing with 7 additions and 0 deletions.
  1. +5 −0 Guardfile
  2. +2 −0 guard-pusher.gemspec
View
5 Guardfile
@@ -0,0 +1,5 @@
+guard 'rspec', :version => 2 do
+ watch(%r{^spec/(.*)_spec.rb})
+ watch(%r{^lib/(.*)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^spec/spec_helper.rb}) { "spec" }
+end
View
2 guard-pusher.gemspec
@@ -19,6 +19,8 @@ Gem::Specification.new do |s|
s.add_development_dependency "bundler", "~> 1.0.0"
s.add_development_dependency "rspec", "~> 2.3.0"
+ s.add_development_dependency "guard-rspec"
+ s.add_development_dependency "rb-fsevent"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

0 comments on commit a411363

Please sign in to comment.