bin/test in jive-0.1.0 vs bin/test in jive-0.2.0

- old
+ new

@@ -1,7 +1,12 @@ -#!/usr/bin/env ruby +#!/bin/sh +set -e -$LOAD_PATH.unshift(File.expand_path(File.join(__dir__, '../lib'))) +cd "$(dirname "$0")/.." -require 'jive' +export RUBYOPT="-Ilib:test" -exit Jive.run([%w[bundle exec rspec]]) +if [ $# -gt 0 ]; then + bundle exec ruby "$@" +else + bundle exec ruby test/**/*_test.rb +fi