Open jayvdb opened 5 years ago
If luacheck doesnt need compiling, it might be possible to install https://chocolatey.org/packages/lua (which includes dependency LuaFileSystem) , and use its luarocks to install luacheck. I thought I tried that and it failed, but I dont recall.
What I think we should avoid is the 64 bit builds switching to the 32 bit compilers to do 32 bit stuff pre-installing, and then switching back to 64 bit. It isnt too difficult, but the build will get messy, and it can be avoided by creating pre-compiled choco packages, which can be installed onto the VM when the compiler in either 32bit or 64bit mode.
https://github.com/mpeterv/luacheck#windows-binary-download already has a 64 bit compilation which just needs wrapping into a choco package.
Due to problems regarding https://gitlab.com/coala/package_manager/issues/260 , the easiest approach for coala-bears is to create a package for 32bit luacheck, which can then be run in the 64 bit jobs.
This could be done by adding it to the choco
lua
packagehttps://github.com/rjpcomputing/luaforwindows/issues/126
Or creating a new choco package which depends on either the
lua
orluarocks
packages.