Permalink
Browse files

Add guard to the mix

  • Loading branch information...
1 parent 88022e9 commit 9bf436e0044d21816476c481b7c68b1b79ab4e6b @thbar thbar committed Mar 12, 2012
Showing with 8 additions and 0 deletions.
  1. +6 −0 Guardfile
  2. +2 −0 activewarehouse-etl.gemspec
View
@@ -0,0 +1,6 @@
+db = ENV['DB'] || 'mysql2'
+gemfile = ENV['GEMFILE'] || 'test/config/gemfiles/Gemfile.rails-3.2.x'
+
+guard 'shell' do
+ watch(/(lib|test)\/\.*/) {|m| `bundle exec rake ci:run_one[#{db},#{gemfile}]` }
+end
@@ -25,6 +25,8 @@ Gem::Specification.new do |s|
s.add_development_dependency('shoulda', '~>2.11.3')
s.add_development_dependency('flexmock', '~>0.9.0')
s.add_development_dependency('cartesian')
+ s.add_development_dependency('guard')
+ s.add_development_dependency('guard-shell')
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test}/*`.split("\n")

0 comments on commit 9bf436e

Please sign in to comment.