[Ruby] hoe and Manifest.txt
Timothy J. Wood
tjw at omnigroup.com
Tue Oct 31 21:20:32 PST 2006
On Oct 31, 2006, at 4:38 PM, Eric Hodel wrote:
> DO ANY OF YOU ACTUALLY _USE_ HOE?!?!?!
I'm trying... :)
There are a couple places that seem like they should include 'ext'
for gems that include binary components:
diff -r ./lib/hoe.rb /opt/local/lib/ruby/gems/1.8/gems/hoe-1.1.2/lib/
hoe.rb
97c97
< "-w -I#{%w(lib bin test).join(File::PATH_SEPARATOR)}" +
---
> "-w -I#{%w(lib ext bin test).join(File::PATH_SEPARATOR)}" +
177c177
< dirs = Dir['{lib,test}']
---
> dirs = Dir['{lib,ext,test}']
It doesn't look like 'hoe' will check if there is a binary module
either, so I have ':extensions => ["ext/extconf.rb"]' in my
spec_extras.
Also, while 'hoe' is required to run the rake tasks, it isn't
clear why it is added as a dependency in general. Does the final gem
actually have any dependencies on 'hoe'? I'm overriding that for now
with ':dependencies => []' in my spec_extras.
So far, though, this is pretty nifty :)
-tim
More information about the Ruby
mailing list