Sha256: 8bd52958d744ba6e4cbc50e70a602ece0df8621cda20608a29a5343eed98a0ca

Contents?: true

Size: 369 Bytes

Versions: 24

Compression:

Stored size: 369 Bytes

Contents

#! /usr/bin/env ruby

script_dir = File.dirname(__FILE__) + '/../script/public'
script_file = script_dir + "/#{ARGV.shift}.rb"

unless File.exist?(script_file)
  puts 'Usage: deep_test <script> [arguments]'
  puts '  Available Scripts: '
  Dir.glob(script_dir + '/*.rb').each do |name|
    puts "    #{File.basename(name, '.rb')}"
  end
  exit(1)
end

load script_file

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
jstorimer-deep-test-1.0.0 bin/deep_test
deep_test-1.2.1 bin/deep_test
deep_test-1.2.0 bin/deep_test
deep_test-1.2.2 bin/deep_test