зеркало из https://github.com/github/ruby.git
23 строки
341 B
Ruby
23 строки
341 B
Ruby
require 'rake'
|
|
|
|
# Load the test files from the command line.
|
|
argv = ARGV.select do |argument|
|
|
case argument
|
|
when /^-/ then
|
|
argument
|
|
when /\*/ then
|
|
FileList[argument].to_a.each do |file|
|
|
require File.expand_path file
|
|
end
|
|
|
|
false
|
|
else
|
|
require File.expand_path argument
|
|
|
|
false
|
|
end
|
|
end
|
|
|
|
ARGV.replace argv
|
|
|