Sha256: 986c8337fe6202d76af7200671e2eb03ab76f4769cd1cd7cc58365be4dc2a7eb
Contents?: true
Size: 637 Bytes
Versions: 6
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-web' require 'pry' ARGV.clear Pry.start end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
rasti-web-2.1.1 | Rakefile |
rasti-web-2.1.0 | Rakefile |
rasti-web-2.0.1 | Rakefile |
rasti-web-2.0.0 | Rakefile |
rasti-web-1.2.1 | Rakefile |
rasti-web-1.2.0 | Rakefile |