From ed9d17f213f7b6f874cb19e4acfdea65de9f98dd Mon Sep 17 00:00:00 2001 From: Kapil Bansal Date: Thu, 12 Aug 2021 02:23:36 +0530 Subject: [PATCH] [fix] Install LuaFormatter using cmake --- install-dev.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install-dev.sh b/install-dev.sh index 3d586bb..d413c8c 100755 --- a/install-dev.sh +++ b/install-dev.sh @@ -15,17 +15,18 @@ git clone https://git.openwrt.org/project/uci.git --depth=1 cd uci && cmake . && make install && cd .. || { echo 'Installing uci failed!' ; exit 1; } #install nixio luarocks install https://raw.githubusercontent.com/Neopallium/nixio/master/nixio-scm-0.rockspec +# install luaformatter +git clone --recurse-submodules https://github.com/Koihik/LuaFormatter.git +cd LuaFormatter && cmake . && make install && cd .. || { echo 'Installing LuaFormatter failed'; exit 1; } # update links to shared libraries ldconfig -v # install luaunit luarocks install luaunit # install luacheck luarocks install luacheck -# install luaformatter -luarocks install --server=https://luarocks.org/dev luaformatter # install lua-cjson luarocks install lua-cjson #install luacov-coveralls luarocks install luacov-coveralls #clean -rm -rf json-c libubox uci +rm -rf json-c libubox uci LuaFormatter