nhartland / love-build

GitHub Action for building a LÖVE Project
https://github.com/marketplace/actions/love-build
MIT License
52 stars 9 forks source link

loverocks dependency does not support luarocks 3 #2

Closed nhartland closed 4 years ago

nhartland commented 4 years ago

At the moment love-build is using loverocks to download and setup luarocks dependencies in a project. This is working so far as the build container is using an older version of luarocks.

This does however result in a warning in the love application itself on the deprecated use of love.filesystem.isFile (used by the old loverocks version).

It should be straightforward to duplicate the basic level of loverocks functionality (downloading of rocks to a local rock tree, setting up a loader) in this project.

For portability the loader should only support Lua modules (those not requiring compilation).