Sha256: e6a838d82923a663bc425d450ae6c6d9832fabc1395e734e645f68ea72ffb9b3
Contents?: true
Size: 637 Bytes
Versions: 41
Compression:
Stored size: 637 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-app' require 'pry' ARGV.clear Pry.start end
Version data entries
41 entries across 41 versions & 1 rubygems