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.
我正在对 nn 库中的文件进行编辑。它有一个rockspec文件。当我 luarocks 安装该 rockspec 文件时,它会下载 git 源。我希望它使用我的本地资源。rockspec 文件包含我不想手动调用的各种编译时命令行乱码。像这样的东西$ luarocks install nn.rockspec --source='~/nn'会很棒。
$ luarocks install nn.rockspec --source='~/nn'
对于本地源,您需要进入目录并发出:
luarocks make rocks/nn-scm-1.rockspec