Sha256: e7b6572f65dd30ef5bd86411e818e5c0c9e4689c95983521c1ce3514ed7ee93a

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'

desc "Run all examples"
RSpec::Core::RakeTask.new('examples') do |c|
  c.rspec_opts = '-Ispec'
end

task :default => :examples

desc "Run specs with RCov"
RSpec::Core::RakeTask.new(:examples_with_coverage) do |t|
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
  t.rspec_opts = '-Ispec'
end

require 'rake'
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'carbon'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
carbon-1.0.4 Rakefile