[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Folder layout again

Victor 'Zverok' Shepelev

2/2/2007 9:46:00 AM

Hi all.

The question is: there are several small libraries (libA, libB, libC..) with
dependencies of each other. For distributing them, I do something like (if
libA depends on libB, the distributions would look):

libA/
ext
doc
lib
...
redist/
ext/
libB.so
lib/
libB.rb
libB/
*.rb of libB

But, when I have additionally libC depending on libA, the structures became
like

libC/lib/redist/lib/libA/lib/redist/lib/libB ....

which doesn't look cool at al.

what's the normal practice for distributing libraries with complex
dependencies, and not to require user to install (end even know about)
dependant libraries?

Thanks.

V.