Why luarocks always try copy `lua` directory after perform all build tasks. I can not find anything about it in doc. builtin.lua has this at the end:
if fs.is_dir("lua") then ... -- do copy end My case: I have 2 implementation of lzmq (C and ffi) And i have 2 rockspec files: For C module i use build = { modules = { ... ["lzmq.poller" ] = "lua/lzmq/poller.lua"; ... } } And for ffi module i use build = { modules = { ... ["lzmq.poller" ] = "lua/lzmq/ffi/poller.lua"; ... } } But when i install FFI module luarocks rewrite my `lzmq.poller` module by `lua/lzmq/poller.lua`. ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers