-
Notifications
You must be signed in to change notification settings - Fork 27
/
Rakefile
40 lines (37 loc) · 1.04 KB
/
Rakefile
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
36
37
38
39
40
# encoding: utf-8
require 'rubygems'
begin
require 'jeweler'
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
exit 1
end
#gem 'rdoc', '= 2.2'
#require 'rdoc'
require 'rake'
require 'rake/testtask'
#require 'rake/rdoctask'
require 'rubygems/package_task'
Jeweler::Tasks.new do |s|
s.name = "spree_solr_search"
s.summary = "Provides search via Apache Solr for a Spree store."
s.description = s.summary
s.email = "[email protected]"
s.homepage = "http://github.com/romul/spree-solr-search"
s.authors = ["Roman Smirnov"]
s.add_dependency 'spree_core', ['>= 1.0.0']
s.add_dependency 'acts_as_solr_reloaded', ['>= 1.6.0']
s.has_rdoc = false
#s.extra_rdoc_files = [ "README.rdoc"]
#s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"]
#s.test_files = Dir['test/**/*.{yml,rb}']
end
Jeweler::GemcutterTasks.new
desc "Default Task"
task :default => [ :test ]
# Run the unit tests
Rake::TestTask.new { |t|
t.libs << "test"
t.pattern = 'test/**/*_test.rb'
t.warning = true
}