Sha256: 213e07fb06818b547a9e8f9912e2ae6a224b1c64b9fefa9fd2532ce0bbfd58a6

Contents?: true

Size: 639 Bytes

Versions: 2

Compression:

Stored size: 639 Bytes

Contents

require 'rubygems'
require 'rspec/core/rake_task'
require 'rdoc/task'
require 'appraisal'

if !ENV['APPRAISAL_INITIALIZED'] && !ENV['TRAVIS']
  desc 'Default: run unit tests with appraisal.'
  task default: :appraisal
else
  desc 'Default: run unit tests.'
  task default: :spec
end

desc 'Testing the rails indexes plugin.'
RSpec::Core::RakeTask.new('spec')

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lol_dba-2.4.0 Rakefile
lol_dba-2.2.0 Rakefile