forked from riemann/riemann-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile.rb
44 lines (35 loc) · 1.12 KB
/
Rakefile.rb
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
41
42
43
44
require 'rubygems'
require 'rubygems/package_task'
require 'rdoc/task'
require 'find'
# Don't include resource forks in tarballs on Mac OS X.
ENV['COPY_EXTENDED_ATTRIBUTES_DISABLE'] = 'true'
ENV['COPYFILE_DISABLE'] = 'true'
# Gemspec
gemspec = Gem::Specification.new do |s|
s.rubyforge_project = 'riemann-tools'
s.name = 'riemann-tools-fb'
s.version = '0.3.0'
s.author = 'Fede Borgnia'
s.email = '[email protected]'
s.homepage = 'https://github.com/fborgnia/riemann-tools'
s.platform = Gem::Platform::RUBY
s.summary = 'Utilities which submit events to Riemann.'
s.description = 'Utilities which submit events to Riemann.'
s.license = 'MIT'
s.add_dependency 'riemann-client', '>= 0.2.3'
s.add_dependency 'trollop', '>= 1.16.2'
s.files = FileList['lib/**/*', 'bin/*', 'LICENSE', 'README.markdown'].to_a
s.executables |= Dir.entries('bin/')
s.require_path = 'lib'
s.has_rdoc = true
s.required_ruby_version = '>= 1.9.3'
end
Gem::PackageTask.new gemspec do |p|
end
RDoc::Task.new do |rd|
rd.main = 'Riemann Tools'
rd.title = 'Riemann Tools'
rd.rdoc_dir = 'doc'
rd.rdoc_files.include('lib/**/*.rb')
end