On Wed, Apr 24, 2013 at 10:38 PM, Thijs Schreijer
<th...@thijsschreijer.nl>wrote:
> What is the proper way to include these resources?
>
>
> It would be useful if the builtin mode did not assume that non-Lua files
are part of a compiled library; if we had instead a whitelist (like
'.c',etc) then non-C, non-Lua files could be copied as is.
The workaround I had for templates was to write them as Lua:
--- template.upnp.lua
return [[
.....
]]
and then require() knows how to find them properly.
But if arbitrary files could be put in the tree, then package.searchpath
could find them and they could be loaded appropriately.
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers