Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Cleaned up Hoe usage in rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Sep 3, 2009
1 parent 0a64316 commit 562447c
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions tasks/hoe.rb
Expand Up @@ -27,18 +27,16 @@ def extra_dev_deps
end
end

hoe = Hoe.new(GEM_NAME, GEM_VERSION) do |hoe|
hoe.developer(AUTHOR, EMAIL)
hoe = Hoe.spec(GEM_NAME) do
developer(AUTHOR, EMAIL)

hoe.description = PROJECT_DESCRIPTION
hoe.summary = PROJECT_SUMMARY
hoe.url = PROJECT_URL
self.version = GEM_VERSION
self.description = PROJECT_DESCRIPTION
self.summary = PROJECT_SUMMARY
self.url = PROJECT_URL

hoe.rubyforge_name = PROJECT_NAME if PROJECT_NAME
self.rubyforge_name = PROJECT_NAME

hoe.clean_globs |= %w[ {coverage,doc,log,tmp} **/*.{log,db} profile_results.* **/.DS_Store spec/db ]

GEM_DEPENDENCIES.each do |dep|
hoe.extra_deps << dep
end
clean_globs |= %w[ {coverage,doc,log,tmp} **/*.{log,db} profile_results.* **/.DS_Store spec/db ]
extra_deps |= GEM_DEPENDENCIES
end

0 comments on commit 562447c

Please sign in to comment.