Browse files

Add script to run tests against all environments

Little helper script to be used as pre-commit hook:

  echo "bin/lhm-test-all.sh" >> .git/hooks/pre-commit
  • Loading branch information...
1 parent b072bb7 commit 50bb1bfa2dfce523a3a648d782da6ac245024ce0 @grobie committed Mar 25, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 bin/lhm-test-all.sh
View
6 bin/lhm-test-all.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for gemfile in gemfiles/*.gemfile; do
+ BUNDLE_GEMFILE=$gemfile bundle install
+ BUNDLE_GEMFILE=$gemfile bundle exec rake
+done

0 comments on commit 50bb1bf

Please sign in to comment.