Sha256: 02da6ee20649cea656a03cf0fd4dc93903d1bf6f237afa2c9b1d22175314a431

Contents?: true

Size: 560 Bytes

Versions: 9

Compression:

Stored size: 560 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the acts_as_sphinx plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datamapper-0.2.0 plugins/can_has_sphinx/Rakefile
datamapper-0.2.1 plugins/can_has_sphinx/Rakefile
datamapper-0.2.2 plugins/can_has_sphinx/Rakefile
datamapper-0.2.3 plugins/can_has_sphinx/Rakefile
datamapper-0.2.4 plugins/can_has_sphinx/Rakefile
datamapper-0.2.5 plugins/can_has_sphinx/Rakefile
datamapper-0.3.0 plugins/can_has_sphinx/Rakefile
datamapper-0.3.1 plugins/can_has_sphinx/Rakefile
datamapper-0.3.2 plugins/can_has_sphinx/Rakefile