Sha256: 9aebafe9b615dfb90d15aad4f633720da20aa7a6b399b5ff8553d0acbabd4c56

Contents?: true

Size: 906 Bytes

Versions: 1

Compression:

Stored size: 906 Bytes

Contents

# Look in the tasks/setup.rb file for the various options that can be
# configured in this Rakefile. The .rake files in the tasks directory
# are where the options are used.

begin
  require 'bones'
  Bones.setup
rescue LoadError
  begin
    load 'tasks/setup.rb'
  rescue LoadError
    raise RuntimeError, '### please install the "bones" gem ###'
  end
end

ensure_in_path 'lib'
require 'cheap_imports'

PROJ.name = 'cheap_imports'
PROJ.authors = 'Ana Nelson'
PROJ.email = 'ana@ananelson.com'
PROJ.url = 'http://ananelson.com'
PROJ.version = CheapImports::VERSION
PROJ.rubyforge.name = 'cheap_imports'

PROJ.spec.opts << '--color'

require 'rake'
require 'spec/rake/spectask'
require 'spec/rake/verify_rcov'

task :default => :verify_rcov

desc "Verify RCOV coverage above threshold"
RCov::VerifyTask.new(:verify_rcov => 'spec:rcov') do |t|
  t.threshold = 87.7
  t.index_html = 'coverage/index.html'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cheap_imports-0.0.2 Rakefile