SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
27 stars 12 forks source link

Add luacheck to static analysis #404

Open jpswinski opened 4 months ago

jpswinski commented 4 months ago

LuaCheck is a static analysis tool for lua scripts that we should use to check all of our lua scripts at build time.

install luacheck

RUN wget https://luarocks.github.io/luarocks/releases/luarocks-3.11.0.tar.gz && \ tar -xvzf luarocks-3.11.0.tar.gz && \ cd luarocks-3.11.0/ && \ ./configure --with-lua-include=/usr/include && \ make && \ make install && \ luarocks install luacheck