Sha256: 09ff41d1905c3f0cec4422b80cfecd22c5c30849a543f3fc339b403ca4272c64

Contents?: true

Size: 477 Bytes

Versions: 6623

Compression:

Stored size: 477 Bytes

Contents

# frozen_string_literal: true

require "rake/file_list"

# Load the test files from the command line.
argv = ARGV.select do |argument|
  case argument
  when /^-/ then
    argument
  when /\*/ then
    Rake::FileList[argument].to_a.each do |file|
      require File.expand_path file
    end

    false
  else
    path = File.expand_path argument

    abort "\nFile does not exist: #{path}\n\n" unless File.exist?(path)

    require path

    false
  end
end

ARGV.replace argv

Version data entries

6,623 entries across 6,613 versions & 53 rubygems

Version Path
mx-platform-ruby-0.3.1 vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb
rails_mini_profiler-0.2.0 vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb
rake-13.0.6 lib/rake/rake_test_loader.rb