forked from dnsimple/dnsimple-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (29 loc) · 1009 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
32
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run tests.'
task :default => [:spec]
desc 'Generate documentation.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'DNSimple Ruby'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/*.rb')
rdoc.rdoc_files.include('lib/**/*.rb')
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "dnsimple-ruby"
gemspec.summary = "A ruby wrapper for the DNSimple API"
gemspec.description = "A ruby wrapper for the DNSimple API that also includes a command-line client."
gemspec.email = "anthony.eden@dnsimple.com"
gemspec.homepage = "http://github.com/aetrion/dnsimple-ruby"
gemspec.authors = ["Anthony Eden"]
gemspec.add_dependency "httparty"
gemspec.executables = 'dnsimple'
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end