A custom Hoe template
I like to create Ruby projects, and I also like to use Hoe to manage them. With any Ruby project generator, I always hate having to add my usual boilerplate code and Rake tasks. Luckily, Hoe supports using project templates, stored in ~/.hoe_template
, with the sow
command. For example, here is the Hoe template I use to generate new projects, with RSpec 1.2.9 and YARD 0.5.2 setup.
Install: git clone git://github.com/postmodern/hoe_template.git ~/.hoe_template
Use: sow my_project
Post a comment