-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
46 lines (39 loc) · 1.29 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
43
44
45
46
require "rake/gempackagetask"
require "rake/rdoctask"
require "spec/rake/spectask"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ["--color"]
end
Rake::RDocTask.new do |t|
t.main = "README.rdoc"
t.rdoc_dir = "doc"
t.rdoc_files.add("README.rdoc", "lib/**/*.rb")
end
specification = Gem::Specification.new do |s|
s.name = "doc_storage"
s.version = "1.0.2"
s.summary = "Simple Ruby library for manipulating documents containing a " +
"text and metadata."
s.description = "DocStorage is a simple Ruby library for manipulating " +
"documents containing text and metadata. These documents " +
"can be used to implement a blog, wiki, or similar " +
"application without a database."
s.required_ruby_version = ">= 1.8.6"
s.author = "David Majda"
s.email = "david@majda.cz"
s.homepage = "http://github.com/dmajda/doc_storage"
s.files = FileList[
"Rakefile",
"README.rdoc",
"LICENSE",
"VERSION",
Dir["lib/**/*.rb"],
Dir["spec/**/*.rb"],
Dir["examples/**/*"]
]
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc"]
s.rdoc_options = ["--main", "README.rdoc"]
end
Rake::GemPackageTask.new(specification) do |t|
end