public
Description: Acts As Indexed is a plugin which provides a pain-free way to add fulltext search to your Ruby on Rails app
Homepage: http://douglasfshearer.com/blog/rails-plugin-acts_as_indexed
Clone URL: git://github.com/dougal/acts_as_indexed.git
Click here to lend your support to: acts_as_indexed and make a donation at www.pledgie.com !
dougal (author)
Thu Jul 02 15:05:28 -0700 2009
commit  c70f652cf1275089f9ed69260ef0f0a9887cac26
tree    ab2ca41f408f4c3a9b706a301c08deb765ba65da
parent  966dafa66fe1a687326d7d5564af1ab87629030c
acts_as_indexed / Rakefile
100644 35 lines (30 sloc) 0.841 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the acts_as_indexed 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_indexed plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'ActsAsIndexed'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('CHANGELOG')
  rdoc.rdoc_files.include('lib/**/*.rb')
end
 
namespace :rcov do
  desc "Generate a coverage report in coverage/"
  task :gen do
    sh "rcov --output coverage test/*_test.rb"
  end
 
  desc "Remove generated coverage files."
  task :clobber do
    sh "rm -rdf coverage"
  end
end