Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我来自 python 背景,我希望做一些语义上等同于pip install -r requirements.txt以正确版本安装 Python 包列表的事情。
pip install -r requirements.txt
这可以实现luarocks吗?如果没有,有没有办法在命令行上一起破解?
luarocks
Lua 中的系统有点不同。每个包都有一个 Rockspec 清单文件。您可以在此文件中列出您的软件包依赖项,然后您可以安装然后使用
有关详细信息,请访问Luarocks
更多关于 Rockspec 格式的信息在这里
在此处创建包/岩石的说明