public
Description: Rails plugin to add extra searching functionality to models.
Clone URL: git://github.com/ryanb/searchify.git
David Dai (author)
Mon May 26 05:58:41 -0700 2008
commit  75113a4fd89ed09c4d01d7555a40b57bd41c1dad
tree    b05277c5c7dc3693cf449f1713f898544f82e4ff
parent  14d909f944a7312f59944197af2922b41c006607
searchify / Rakefile
100644 32 lines (26 sloc) 0.731 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
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'spec/rake/spectask'
 
desc 'Default: run unit tests.'
task :default => :test
 
spec_files = Rake::FileList["spec/**/*_spec.rb"]
 
desc "Run specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = spec_files
  t.spec_opts = ["-c"]
end
 
desc 'Test the searchify plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the searchify plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Searchify'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end