Skip to content

Commit

Permalink
[fix] Install LuaFormatter using cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
devkapilbansal committed Aug 11, 2021
1 parent 4f75bbb commit ed9d17f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ed9d17f

Please sign in to comment.