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-2.2.2 Rakefile
rasti-app-2.2.1 Rakefile
rasti-app-2.2.0 Rakefile
rasti-app-2.1.1 Rakefile
rasti-app-2.1.0 Rakefile
rasti-app-2.0.0 Rakefile
rasti-app-1.1.0 Rakefile
rasti-app-1.0.0 Rakefile
rasti-app-0.1.2 Rakefile
rasti-app-0.1.1 Rakefile
rasti-app-0.1.0 Rakefile
rasti-app-0.0.10 Rakefile
rasti-app-0.0.9 Rakefile
rasti-app-0.0.8 Rakefile
rasti-app-0.0.7 Rakefile
rasti-app-0.0.6 Rakefile
rasti-app-0.0.5 Rakefile
rasti-app-0.0.4 Rakefile
rasti-app-0.0.3 Rakefile
rasti-app-0.0.2 Rakefile