Sha256: 824ee883f1f5105a5a290509af80a32bb0d079edf0bb2fdf3500413ea153fbf3
Contents?: true
Size: 636 Bytes
Versions: 36
Compression:
Stored size: 636 Bytes
Contents
require 'bundler/gem_tasks' require 'rake/testtask' Rake::TestTask.new(:spec) do |t| t.libs << 'spec' t.libs << 'lib' t.pattern = ENV['DIR'] ? File.join(ENV['DIR'], '**', '*_spec.rb') : '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 'rasti-db' require 'pry' ARGV.clear Pry.start end
Version data entries
36 entries across 36 versions & 2 rubygems