Skip to content

Commit

Permalink
Add bin/test script
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 Aug 1, 2024
1 parent 2413e21 commit c927e8d
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 c927e8d

Please sign in to comment.