Sha256: 06417e6257950858fa1ac91bb05afb00a2cfdb639e9bc9a6a305536f40d6e1a4
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
#!/bin/sh #/ Usage: test [individual test file] #/ #/ Bootstrap and run all tests or an individual test. #/ #/ Examples: #/ #/ # run all tests #/ test #/ #/ # run individual test #/ test test/twirl_test.rb #/ set -e cd $(dirname "$0")/.. [ "$1" = "--help" -o "$1" = "-h" -o "$1" = "help" ] && { grep '^#/' <"$0"| cut -c4- exit 0 } script/bootstrap && ruby -I lib -I test -r rubygems \ -e 'require "bundler/setup"' \ -e '(ARGV.empty? ? Dir["test/**/*_test.rb"] : ARGV).each { |f| load f }' -- "$@"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twirl-0.2.0 | script/test |
twirl-0.1.0 | script/test |