forked from randym/axlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
29 lines (22 loc) · 576 Bytes
/
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
require File.expand_path(File.dirname(__FILE__) + '/lib/axlsx/version.rb')
task :build => :gendoc do
system "gem build axlsx.gemspec"
end
task :benchmark do
require File.expand_path(File.dirname(__FILE__) + '/test/benchmark.rb')
end
task :gendoc do
system "yardoc"
system "yard stats --list-undoc"
end
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList['test/**/tc_*.rb']
t.verbose = false
t.warning = true
end
task :release => :build do
system "gem push axlsx-#{Axlsx::VERSION}.gem"
end
task :default => :test