forked from harvesthq/simple_xlsx_writer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRakefile
40 lines (34 loc) · 1.09 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
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/gempackagetask'
task :default => [:test]
Rake::TestTask.new do |test|
test.libs << "test"
test.test_files = Dir['test/**/*_test.rb'].sort
test.verbose = true
end
desc "generate tags for emacs"
task :tags do
sh "ctags -Re lib/ "
end
spec = Gem::Specification.new do |s|
s.name = "simple_xlsx_writer"
s.version = "0.5.3.justinbeck1"
s.author = "Dee Zsombor & Justin Beck"
s.email = "[email protected]"
s.homepage = "http://simplxlsxwriter.rubyforge.org"
s.rubyforge_project = "simple_xlsx_writer"
s.platform = Gem::Platform::RUBY
s.summary = "Just as the name says, simple writter for Office 2007+ Excel files"
s.files = [FileList["{bin,lib}/**/*"].to_a, "LICENSE", "Rakefile"].flatten
s.require_path = "lib"
s.test_files = [FileList["{test}/**/*test.rb"].to_a, "test/test_helper.rb"].flatten
s.has_rdoc = true
s.extra_rdoc_files = ["README"]
s.add_dependency("rubyzip", ">= 0.9.4")
s.add_dependency("fast_xs", ">= 0.7.3")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end