Sha256: 34c394348a44162653db42809b9292dfaf512cdb4a14d4ad2d74595f0a1ce071
Contents?: true
Size: 628 Bytes
Versions: 6
Compression:
Stored size: 628 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 desc 'Console' task :console do require 'pry' require 'spool' ARGV.clear Pry.start end task default: :spec
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
spool-1.0.5 | Rakefile |
spool-1.0.4 | Rakefile |
spool-1.0.3 | Rakefile |
spool-1.0.2 | Rakefile |
spool-1.0.1 | Rakefile |
spool-1.0.0 | Rakefile |