/
Rakefile
36 lines (31 loc) · 1.47 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
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "hast"
gem.summary = %Q{Hosting Account Status Tool - Fetch domains from Apache configuration files and Postfix on a hosting server environment. Then run a report checking each domains DNS records to see if they match your server.}
gem.description = <<-EOF
HAST stands for 'Hosting Account Status Tool'.
HAST is a tool for fetching domains from Apache configuration files and
from Postfix on a hosting server environment. It will then run a report,
checking the DNS records for each domain to see if they match your server.
This is important for finding "dead" domains where the domain either
doesn't exist anymore or where the owner have moved it to another
hosting provider.
Before you can use HAST, you need to setup a config.yml file. Run 'hast
--generate-config > config.yml' to create a sample config file that you
can modify.
EOF
gem.email = "w@tson.dk"
gem.homepage = "http://github.com/watson/hast"
gem.authors = ["Thomas Watson Steen"]
gem.add_dependency "net-dns", ">= 0.1"
gem.add_dependency "deep_merge", ">= 0.1.0"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
task :default => :version