15 lines
207 B
Bash
Executable File
15 lines
207 B
Bash
Executable File
#!/bin/bash
|
|
# Usage: script/test [file]
|
|
set -e
|
|
|
|
case "$1" in
|
|
-h | --help )
|
|
sed -ne '/^#/!q;s/.\{1,2\}//;1d;p' < "$0"
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
export RUBYOPT="$RUBYOPT -w"
|
|
|
|
exec bundle exec rake ${1:+TEST="$1"}
|