Sha256: 322efe3e7134bde53d1985ddc54df44c614a955a08e3956f58bcc03c40a3d603

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

%w[rubygems rake rake/clean].each { |f| require f }
require 'newgem' rescue nil # still work if newgem not available
require File.dirname(__FILE__) + '/lib/rubigen'

# Generate all the Rake tasks
# Run 'rake -T' to see list of generated tasks (from gem root directory)
$hoe = Hoe.new('rubigen', RubiGen::VERSION) do |p|
  p.developer('Dr Nic Williams', 'drnicwilliams@gmail.com')
  p.developer('Jeremy Kemper', 'jeremy@bitsweat.net')
  p.changes        = p.paragraphs_of("History.txt", 0..1).join("\n\n")
  p.extra_deps     = [['activesupport','>= 2.2.2']]
  # p.extra_dev_deps = [['newgem', ">= #{::Newgem::VERSION}"]] - TODO causes a circular dependency < rubygems 1.2
  
  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' rescue nil # load /tasks/*.rake

task :default => :features

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubigen-1.5.2 Rakefile