LuaRocks是否正常使用文件名来忽略rockspec中的模块名称?
build = {
type = "builtin",
modules = {
apricot = "src/apricot.lua",
["apricot.stuff"] = "src/apricot/seeds.lua",
-- `apricot.stuff` is renamed to `apricot.seeds`
-- when installed as a rock.
}
}
(Lua 5.1,LuaRocks 2.1.0)
答案 0 :(得分:1)
是的,这是一个错误。我只是推了一个修复:
https://github.com/keplerproject/luarocks/commit/0b8605f5d53a9fef54ca17bf5447132327b0ae6e
如果此修复程序有任何问题,请告知我(最好是在错误跟踪器中)。谢谢!