Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.928 kB
require 'echoe'
Echoe.new("ultrasphinx") do |p|
p.project = "fauna"
p.summary = "Ruby on Rails configurator and client to the Sphinx fulltext search engine."
p.rdoc_pattern = /is_indexed.rb|search.rb|spell.rb|ultrasphinx.rb|^README|TODO|DEPLOY|RAKE_TASKS|CHANGELOG|^LICENSE/
p.dependencies = "chronic"
p.test_pattern = ["test/integration/*.rb", "test/unit/*.rb"]
p.rcov_options << '--include-file test\/integration\/app\/vendor\/plugins\/ultrasphinx\/lib\/.*\.rb --include-file '
end
desc "Run all the tests for every database adapter"
task "test_all" do
['mysql', 'postgresql'].each do |adapter|
ENV['DB'] = adapter
ENV['PRODUCTION'] = nil
STDERR.puts "#{'='*80}\nDevelopment mode for #{adapter}\n#{'='*80}"
system("rake test:multi_rails:all")
ENV['PRODUCTION'] = '1'
STDERR.puts "#{'='*80}\nProduction mode for #{adapter}\n#{'='*80}"
system("rake test:multi_rails:all")
end
end
Jump to Line
Something went wrong with that request. Please try again.