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

Version Path
rasti-app-11.0.0 Rakefile
rasti-app-10.0.1 Rakefile
rasti-app-10.0.0 Rakefile
rasti-app-9.0.0 Rakefile
rasti-app-8.0.1 Rakefile
rasti-app-8.0.0 Rakefile
rasti-app-7.1.1 Rakefile
rasti-app-7.1.0 Rakefile
rasti-app-7.0.2 Rakefile
rasti-app-7.0.1 Rakefile
rasti-app-7.0.0 Rakefile
rasti-app-6.0.1 Rakefile
rasti-app-6.0.0 Rakefile
rasti-app-5.0.0 Rakefile
rasti-app-4.0.2 Rakefile
rasti-app-4.0.1 Rakefile
rasti-app-4.0.0 Rakefile
rasti-app-3.0.0 Rakefile
rasti-app-2.2.4 Rakefile
rasti-app-2.2.3 Rakefile