已安装 Luarock - 没有 .lua 个文件

Installed Luarock - No .lua files

我有点 lua 菜鸟,但已经完成了一些 lua 编码。我在任何地方都找不到这个问题的答案;

我安装了一个新的 luarock (lua-resty-auto-ssl) 通过:

luarocks install --tree lualib lua-resty-auto-ssl

这可以毫无问题地安装到我的目录,但是我没有任何 .lua 文件。

我可以在 rock_manifest 文件中看到它们都已列出。

如何安装 .lua 文件?

运行luarocks install --tree lualib lua-resty-auto-ssl后,我有一个目录,内容如下:

lualib
lualib/share
lualib/share/lua
lualib/share/lua/5.3
lualib/share/lua/5.3/resty
lualib/share/lua/5.3/resty/auto-ssl.lua
lualib/share/lua/5.3/resty/auto-ssl
lualib/share/lua/5.3/resty/auto-ssl/storage_adapters
lualib/share/lua/5.3/resty/auto-ssl/storage_adapters/redis.lua
lualib/share/lua/5.3/resty/auto-ssl/storage_adapters/file.lua
lualib/share/lua/5.3/resty/auto-ssl/jobs
lualib/share/lua/5.3/resty/auto-ssl/jobs/renewal.lua
lualib/share/lua/5.3/resty/auto-ssl/vendor
lualib/share/lua/5.3/resty/auto-ssl/vendor/shell.lua
lualib/share/lua/5.3/resty/auto-ssl/vendor/sockproc
lualib/share/lua/5.3/resty/auto-ssl/vendor/letsencrypt.sh
lualib/share/lua/5.3/resty/auto-ssl/storage.lua
lualib/share/lua/5.3/resty/auto-ssl/ssl_certificate.lua
lualib/share/lua/5.3/resty/auto-ssl/init.lua
lualib/share/lua/5.3/resty/auto-ssl/servers
lualib/share/lua/5.3/resty/auto-ssl/servers/challenge.lua
lualib/share/lua/5.3/resty/auto-ssl/servers/hook.lua
lualib/share/lua/5.3/resty/auto-ssl/utils
lualib/share/lua/5.3/resty/auto-ssl/utils/run_command.lua
lualib/share/lua/5.3/resty/auto-ssl/utils/shell_execute.lua
lualib/share/lua/5.3/resty/auto-ssl/utils/start_sockproc.lua
lualib/share/lua/5.3/resty/auto-ssl/init_worker.lua
lualib/share/lua/5.3/resty/auto-ssl/ssl_providers
lualib/share/lua/5.3/resty/auto-ssl/ssl_providers/lets_encrypt.lua
lualib/share/lua/5.3/resty/auto-ssl/shell
lualib/share/lua/5.3/resty/auto-ssl/shell/start_sockproc
lualib/share/lua/5.3/resty/auto-ssl/shell/letsencrypt_hooks
lualib/share/lua/5.3/resty/http_headers.lua
lualib/share/lua/5.3/resty/http.lua
lualib/lib64
lualib/lib64/luarocks
lualib/lib64/luarocks/rocks
lualib/lib64/luarocks/rocks/manifest
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/rock_manifest
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/lua-resty-auto-ssl-0.9.0-1.rockspec
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/doc
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/doc/CHANGELOG.md
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/doc/LICENSE.txt
lualib/lib64/luarocks/rocks/lua-resty-auto-ssl/0.9.0-1/doc/README.md
lualib/lib64/luarocks/rocks/lua-resty-http
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0/rock_manifest
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0/lua-resty-http-0.09-0.rockspec
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0/doc
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0/doc/README.md
lualib/lib64/luarocks/rocks/lua-resty-http/0.09-0/doc/LICENSE

那里有很多 Lua 文件。你得到什么结果?

(我认为这无关紧要,但是:我正在使用 Lua 5.3 和 LuaRocks 2.3.0)