Sha256: 0c64ea967a5fa8491bc31d065cc8f1596823de25d77663f420711d2d0913b480
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 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 :console do require 'pry' require 'restruct' ARGV.clear Pry.start end task default: :spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
restruct-1.1.0 | Rakefile |
restruct-1.0.0 | Rakefile |
restruct-0.2.0 | Rakefile |