Sha256: 50cea3672929038678a3a4c6d46e8d2d06dc0843a70582cdb04fa32ecfcac74e

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

require 'bundler'
require 'bundler/gem_tasks'
require 'rake'
require 'rspec/core/rake_task'

# Setup the necessary gems, specified in the gemspec.
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

desc "Open an irb session preloaded with distribution"
task :console do
  sh "irb -rubygems -I lib -r distribution.rb"
end

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

task :default => :spec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
distribution-0.8.0 Rakefile
distribution-0.7.3 Rakefile
distribution-0.7.2 Rakefile