Sha256: a9fa798a4fbd38b3eb90acfd9e54fbfab82f4088390e47b0c16e874e18fd73b1

Contents?: true

Size: 1.43 KB

Versions: 5

Compression:

Stored size: 1.43 KB

Contents

%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
require File.dirname(__FILE__) + '/lib/daemon_kit'

# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new('daemon-kit', DaemonKit::VERSION) do |p|
  p.summary = 'Daemon Kit aims to simplify creating Ruby daemons by providing a sound application skeleton (through a generator), task specific generators (jabber bot, etc) and robust environment management code.'
  p.developer('Kenneth Kalmer', 'kenneth.kalmer@gmail.com')
  p.changes              = p.paragraphs_of("History.txt", 0..1).join("\n\n")
  p.post_install_message = IO.read( 'PostInstall.txt' ) # TODO remove if post-install message not required
  p.rubyforge_name       = 'kit' # TODO this is default value
  p.extra_deps = [
                  ['rubigen', '>= 1.5.2']
                 ]
  p.extra_dev_deps = [
                      ['newgem', ">= #{::Newgem::VERSION}"]
                     ]

  p.clean_globs |= %w[**/.DS_Store tmp *.log]
  path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
  p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
  p.rsync_args = '-av --delete --ignore-errors'
end

require 'newgem/tasks' # load /tasks/*.rake
Dir['tasks/**/*.rake'].each { |t| load t }

# TODO - want other tests/tasks run by default? Add them to the list
task :default => [:spec] #, :features]

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
kennethkalmer-daemon-kit-0.1.7.3 Rakefile
kennethkalmer-daemon-kit-0.1.7.4 Rakefile
kennethkalmer-daemon-kit-0.1.7.5 Rakefile
daemon-kit-0.1.7.4 Rakefile
daemon-kit-0.1.7.5 Rakefile