-
Notifications
You must be signed in to change notification settings - Fork 29
/
Rakefile
33 lines (28 loc) · 1.01 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
require 'rake'
require 'spec/rake/spectask'
require 'rake/gempackagetask'
task :default => [:spec]
Spec::Rake::SpecTask.new("spec")
spec = Gem::Specification.new do |s|
s.name = %q{serenity-odt}
s.version = "0.2.2"
s.authors = ["Tomas Kramar"]
s.description = <<-EOF
Embedded ruby for OpenOffice Text Document (.odt) files. You provide an .odt template
with ruby code in a special markup and the data, and Serenity generates the document.
Very similar to .erb files.
EOF
s.email = %q{[email protected]}
s.files = Dir.glob('lib/**/*.rb') + %w{README.md Rakefile LICENSE}
s.has_rdoc = false
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{Embedded ruby for OpenOffice Text Document (.odt) files}
s.test_files = Dir.glob('spec/**/*.rb') + Dir.glob('fixtures/*.odt')
s.add_dependency('rubyzip', '>= 0.9.1')
s.add_dependency('nokogiri', '>= 1.0')
s.add_development_dependency('rspec', '>= 1.2.9')
end
Rake::GemPackageTask.new(spec) do |p|
p.gem_spec = spec
end