Hi all,

I seem to have painted myself in a corner. My LDoc project has a
driver, ldoc.lua and libraries in an ldoc directory.

I can write a rockspec to install this fine, but the executable
script's name ends up being 'ldoc.lua'.  I can't simply rename it to
'ldoc' because then I will collide with my library subdirectory.

Is there any subtlety I'm missing?  Probably comes from spending too
much time with Windows, where any executable needs an extension.

I could rearrange the project, and put a renamed 'ldoc' in a bin
subdirectory, but I was wondering if there's a LR trick for this case,
since this opens another can of worms: on a non-LR installation
ldoc.lua assumes its libraries are in the same directory and
adjusts its package.path accordingly.


steve d.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to