Sha256: 7f33c95f1f52cc237df5cff725698755132dffc5a288772a0bfe81364c77b15e

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

#!/usr/bin/env rake
require 'rspec/core/rake_task'

begin
  Bundler.setup :default, :development
  Bundler::GemHelper.install_tasks
rescue Bundler::BundlerError => error
  $stderr.puts error.message
  $stderr.puts 'Run `bundle install` to install missing gems'
  exit error.status_code
end

desc 'Run RSpec with code coverage'
task :coverage do
  ENV['COVERAGE'] = 'true'
  Rake::Task['spec'].execute
end

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

desc 'Default: run tests'
task default: [:spec]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picture_from-0.0.1 Rakefile