Sha256: 7bbd36c820620811db1dbfdbd92fd0d01817e6a45e89a37effd58bde334e00c4

Contents?: true

Size: 614 Bytes

Versions: 4

Compression:

Stored size: 614 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

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

desc "Run specs"
RSpec::Core::RakeTask.new(:spec)

desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
  t.rcov = true
  t.rcov_opts = ['--exclude', 'spec']
end

desc 'Generate documentation for plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ActiveEnum'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc 'Default: run specs.'
task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_enum-0.9.6 Rakefile
active_enum-0.9.5 Rakefile
active_enum-0.9.4 Rakefile
active_enum-0.9.3 Rakefile