Skip to content

Commit

Permalink
Add bin/test script (#198)
Browse files Browse the repository at this point in the history
This script will run `bundle exec rake test` for each gemfile in the
`gemfiles` directory.
  • Loading branch information
jonathanhefner committed Sep 15, 2024
1 parent 4464c15 commit 5fc0b10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

GEMFILES_DIR="$(dirname -- $(dirname -- "${BASH_SOURCE}"))/gemfiles"

for gemfile in "$GEMFILES_DIR"/*.gemfile; do
(set -x; BUNDLE_GEMFILE="$gemfile" bundle exec rake test)
echo
done

0 comments on commit 5fc0b10

Please sign in to comment.