Sha256: e96b2a4e8f996dd88a4a0c065c44aee0e290eddf47d83cdd94b25b725c6fe829

Contents?: true

Size: 688 Bytes

Versions: 13

Compression:

Stored size: 688 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'irb'
require 'irb/completion'

RuboCop::RakeTask.new(:rubocop)
RSpec::Core::RakeTask.new(:spec)

task default: [:spec, :rubocop]

namespace :rspec do
  desc 'Run each file separatly for find out where `require` is missed'
  task :separated do
    specfiles = Dir[File.expand_path('../spec/**/*_spec.rb', __FILE__)]
    specfiles.all? { |specfile| system("bundle exec rspec #{specfile}") }
  end
end

desc 'IRB console with required LunaPark (alias c)'
task :console do
  require 'luna_park'
  require 'irb'
  ARGV.clear
  IRB.start
end

task :c, [] => :console

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
luna_park-0.13.2 Rakefile
luna_park-0.13.1 Rakefile
luna_park-0.13.0 Rakefile
luna_park-0.12.1 Rakefile
luna_park-0.12.0 Rakefile
luna_park-0.11.7 Rakefile
luna_park-0.11.6 Rakefile
luna_park-0.11.5 Rakefile
luna_park-0.11.4 Rakefile
luna_park-0.11.3 Rakefile
luna_park-0.11.2 Rakefile
luna_park-0.11.1 Rakefile
luna_park-0.11.0 Rakefile