hoe version 2.9.1.b.2 has been released!
Hoe is a rake/rubygems helper for project Rakefiles. It helps you
manage and maintain, and release your project and includes a dynamic
plug-in system allowing for easy extensibility. Hoe ships with
plug-ins for all your usual project tasks including rdoc generation,
testing, packaging, and deployment.
See class rdoc for help. Hint: ri Hoe
or any of the plugins listed
below.
For extra goodness, see: http://seattlerb.rubyforge.org/hoe/Hoe.pdf
Changes:
2.9.1 / 2011-02-05
-
1 minor enhancement:
- Sow now creates all template directories before dealing with
anything else
-
3 bug fixes:
- Fixed dependency order bug with prereleases [erikh]
- Fixed sanity check for prereleases.
- Fixed sow when passed no args. [erikh]
Dear Ryan
Thanks for this release!
I got a question: Are you planning a task, User Story, that asks the
user first before deleting the doc directory when running
check_manifest
I use rake and hoe for a lot of web-projects and those web-project all
have a doc-directory. So it is not so userfriendly if running
rake check_manifest
deletes my existing doc dir with a ton of files there.
It would be nice if the user would be asked first if check_manifest
should delete the doc dir or not. I would suggest the same applys for
any other directory that is wanting to be wiped by rake check_manifest.
Thank you for your Feedback.
Best
Zeno
On Feb 11, 2011, at 08:03 , Zeno D. wrote:
I got a question: Are you planning a task, User Story, that asks the
user first before deleting the doc directory when running
No. Hoe will never ask the user anything.
ri Hoe::Publish
On Fri, Feb 11, 2011 at 8:03 AM, Zeno D. [email protected] wrote:
It would be nice if the user would be asked first if check_manifest
should delete the doc dir or not. I would suggest the same applys for
any other directory that is wanting to be wiped by rake check_manifest.
If you’re using git, you might want to check out the hoe-git plugin,
which can use git ls-files to build the manifest.
If you’re not using git, then I guess this post isn’t very helpful.
Sorry 
Ben
Dear Ben
Excellent! Thanks for the Tip! I do use GIT.
Dear Ryan
Thanks for the Tip, I will look into that.
Best
Zeno
Dear Ryan
Another thing I do not like is that when I do
rake release VERSION=2.0.1 --trace
then again my doc directory gets wiped without asking me. I need that
directory for other stuff of my web-project. My Documentation of the
project is in a completely different directory.
Any hints how do deal with that?
Best
Zeno
Dear Ryan
This solved my problem:
Hoe.plugins.delete :clean
will skip the unnecessary deleting of my doc folder that contains
something else then the default hoe installation thinks is there.
Thank you for your awesome work on hoe. I like it.
Best
Zeno