Permalink
Browse files

work better with hoe

  • Loading branch information...
bkerley committed Sep 13, 2009
1 parent d1729ac commit 99915c1a00841144512a23719298a2eaafbc85ae
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -1,4 +1,4 @@
-%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
+%w[rubygems rake rake/clean fileutils newgem rubigen hoe].each { |f| require f }
require File.dirname(__FILE__) + '/lib/radius'
# Generate all the Rake tasks
@@ -18,7 +18,7 @@ $hoe = Hoe.new('radius', Radius::VERSION) do |p|
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')

0 comments on commit 99915c1

Please sign in to comment.