Sha256: 267c19fe0c2cdbc6ab18ab9cb084ce5f7429e8bc462c5d11c17e9e037bd41ee1

Contents?: true

Size: 467 Bytes

Versions: 5

Compression:

Stored size: 467 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'

begin
  Bundler.setup
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts 'run `bundle install` to install missing gems'
  exit e.status_code
end

require 'rake'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = '-Ispec'
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.rspec_opts = '-Ispec'
  spec.rcov       = true
end

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
critique-0.2.0 Rakefile
critique-0.1.3 Rakefile
critique-0.1.2 Rakefile
critique-0.1.1 Rakefile
critique-0.1 Rakefile