forked from chetan/timezone_local
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
31 lines (28 loc) · 812 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
30
31
begin
require 'rubygems'
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "timezone_local"
gemspec.summary = "Determine the local system's time zone"
gemspec.description = ""
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/chetan/timezone_local"
gemspec.authors = ["Chetan Sarva"]
gemspec.add_dependency('tzinfo', '>= 0.3.24')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
require "rake/testtask"
desc "Run unit tests"
Rake::TestTask.new("test") { |t|
#t.libs << "test"
t.ruby_opts << "-rubygems"
t.pattern = "test/**/*_test.rb"
t.verbose = false
t.warning = false
}
require "yard"
YARD::Rake::YardocTask.new("docs") do |t|
end