Sha256: a863fb3e252814457119395f5eed5617933fa76bf767339f61dbf81c1a498b62

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

#!/usr/bin/env ruby

# Run unit tests

live = ARGV.delete('--live')

unless live
  $LOAD_PATH.unshift(File.expand_path('lib'))
end

if find = ARGV[0]
  unless File.file?(find)
    find = File.join(find, '**', 'test_*.rb')
  end
else
  find = 'test/**/test_*.rb'
end

Dir.glob(find).each do |file|
  next if File.directory?(file)
  load file
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roll-1.1.0 script/test