Sha256: 4918482f52f900fe6acc45069d5878de676ba6b0866a62467c257bde3eeefd9b
Contents?: true
Size: 426 Bytes
Versions: 1
Compression:
Stored size: 426 Bytes
Contents
#!/usr/bin/env ruby if ARGV.empty? puts "usage: cutest [-r lib] [-v] file ..." exit end require_relative "../lib/cutest" require_relative "../lib/cutest/vendor/clap" files = Clap.run ARGV, "-r" => lambda { |file| require file }, "-o" => lambda { |name| cutest[:only] = name }, "-v" => lambda { puts Cutest::VERSION } if files.any? success = Cutest.run(Dir[*files]) exit(1) unless success end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cutest-1.2.1 | bin/cutest |