其他分享
首页 > 其他分享> > 2020-11-22 使用luacheck检查Lua代码

2020-11-22 使用luacheck检查Lua代码

作者:互联网

电脑是Mac系统,所以直接参照官网文档 https://github.com/luarocks/luarocks/wiki/Installation-instructions-for-Unix    https://github.com/mpeterv/luacheck#installation

1. 安装

wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz
tar zxpf luarocks-3.3.1.tar.gz
cd luarocks-3.3.1
sudo echo going to install && ./configure --with-lua-include=/usr/local/include && make && sudo make install

2. install

luarocks install luacheck

标签:11,https,luarocks,22,tar,luacheck,3.3,install
来源: https://blog.csdn.net/jaket5219999/article/details/109963166