Sha256: c348608d207d17ffe8191ad43e7db358e4c839332d4a0291ab2250dece38c8e3
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:spec) do |t| t.libs << 'spec' t.pattern = 'spec/**/*_spec.rb' t.verbose = false t.warning = false t.loader = nil if ENV['TEST'] ENV['TEST'], ENV['LINE'] = ENV['TEST'].split(':') if ENV['TEST'] && !ENV['LINE'] t.options = '' t.options << "--name=/#{ENV['NAME']}/ " if ENV['NAME'] t.options << "-l #{ENV['LINE']} " if ENV['LINE'] && ENV['TEST'] end task default: :spec desc 'Pry console' task :console do require 'class_ancestry_sort' require 'pry' ARGV.clear Pry.start end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
class_ancestry_sort-0.1.0 | Rakefile |