forked from github/statsd-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
39 lines (34 loc) · 1.07 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
require 'rubygems'
require 'rake'
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see https://docs.rubygems.org/read/chapter/20 for more options
gem.name = "statsd-ruby"
gem.homepage = "https://github.com/reinh/statsd"
gem.license = "MIT"
gem.summary = %Q{A Statsd client in Ruby}
gem.description = %Q{A Statsd client in Ruby}
gem.email = "[email protected]"
gem.authors = ["Rein Henrichs"]
gem.add_development_dependency "minitest", ">= 0"
gem.add_development_dependency "yard", "~> 0.6.0"
gem.add_development_dependency "jeweler", "~> 1.5.2"
gem.add_development_dependency "rcov", ">= 0"
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
end
require 'rcov/rcovtask'
Rcov::RcovTask.new do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
spec.rcov_opts << "--exclude spec,gems"
end
task :default => :spec
require 'yard'
YARD::Rake::YardocTask.new