# -*- ruby -*-
$LOAD_PATH << "./lib"
require 'rubygems'
require 'hoe'
require 'vlad'
require 'highline/import'
require './lib/vlad/enterprising.rb'
require './lib/nytd/builder'
Hoe.new('VladTheEnterprising', VLAD_ENTERPRISING_VERSION) do |p|
  p.rubyforge_name = 'vlad_the_enterprising'
  p.author = 'Michael L. Welles'
  p.email = 'michael.welles@nytimes.com'
  p.summary = 'Adds \'enterprisey\' features to Vlad The Deployer'
  p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
  p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
  p.extra_deps <<  ['highline']
  p.extra_deps <<  ['vlad', "> 1.0.0"]
end
Vlad.load()

# vim: syntax=Ruby
