public
Description: Ambition adapter for Sphinx
Clone URL: git://github.com/technicalpickles/ambitious-sphinx.git
Fri Feb 29 21:38:26 -0800 2008
commit  d71e376ab10280a17f76207d0535535aad526d1f
tree    ed947bc252c4e031bbd7c338540c283bcbe0415c
parent  c10f14778f8346128fceacdf03749c4556eb6e69
ambitious-sphinx / Rakefile
100644 30 lines (24 sloc) 0.816 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
require 'rake'
 
begin
  require 'rubygems'
  gem 'echoe', '>=2.7'
  ENV['RUBY_FLAGS'] = ""
  require 'echoe'
 
  Echoe.new('ambitious-sphinx') do |p|
    p.dependencies << 'ultrasphinx >=1.7'
    p.summary = 'An ambitious adapter for sphinx'
    p.author = 'Josh Nichols'
    p.email = 'josh@technicalpickles.com'
 
    p.project = 'ambitioussphinx'
    p.url = 'http://ambitioussphinx.rubyforge.org/'
    p.test_pattern = 'test/*_test.rb'
    p.version = '0.1.1'
    p.dependencies << 'ambition >=0.5.2'
  end
 
rescue LoadError
  puts "Not doing any of the Echoe gemmy stuff, because you don't have the specified gem versions"
end
 
desc 'Install as a gem'
task :install_gem do
  puts `rake manifest package && gem install pkg/ambitious-sphinx-#{Version}.gem`
end