Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add guard to the mix

  • Loading branch information...
commit 9bf436e0044d21816476c481b7c68b1b79ab4e6b 1 parent 88022e9
@thbar thbar authored
Showing with 8 additions and 0 deletions.
  1. +6 −0 Guardfile
  2. +2 −0  activewarehouse-etl.gemspec
View
6 Guardfile
@@ -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
View
2  activewarehouse-etl.gemspec
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.