-
Notifications
You must be signed in to change notification settings - Fork 17
/
Rakefile
42 lines (34 loc) · 1.11 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
41
42
require 'rubygems'
require 'rake/gempackagetask.rb'
spec = Gem::Specification.new do |s|
s.name = "heliotrope"
s.version = "0.1"
s.date = Time.now
s.email = "[email protected]"
s.authors = ["William Morgan"]
s.summary = "Heliotrope is a personal, threaded, search-centric email server."
s.homepage = "http://sup.rubyforge.org"
s.files = Dir["lib/*.rb"] + Dir["lib/heliotrope/*.rb"]
s.executables = Dir["bin/*"].map { |f| File.basename f }
s.rubyforge_project = "sup"
s.description = "Heliotrope is a personal, threaded, search-centric email server."
s.add_dependency 'trollop', '>= 1.16.2'
s.add_dependency 'whistlepig', '>= 0.12'
s.add_dependency 'rmail', '>= 1.0.0'
s.add_dependency 'leveldb-ruby', '>= 0.13'
s.add_dependency 'locale'
s.add_dependency 'rest-client'
s.add_dependency 'rack'
s.add_dependency 'json'
s.add_dependency 'sinatra'
end
task :rdoc do |t|
sh "rdoc lib README.txt History.txt -m README.txt"
end
task :test do
sh %!ruby -rubygems -Ilib:ext:bin:test test/test_heliotrope.rb!
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
# vim: syntax=ruby