Re: [TOOL] LÖVERocks - A package manager manager
Posted: Tue Jul 21, 2015 2:33 am
So I just published 0.0.6, which is enough of a change IMO to mention.
Notably, it now works on Windows, for a certain definition of "works". I can run and use it normally on my Windows 8 desktop, although a lot of the tests still fail and I have no doubt there are probably still serious bugs.
To do that, the whole method of invoking luarocks had to be revamped: now instead of calling it from the command line, we instead just take advantage of the fact that luarocks is installed like any other package and just require() the parts we need from directly. This is, surprisingly, a net negative in hacks and workarounds, and it should make it possible to implement things that aren't directly implemented in luarocks.
Also, I wrote a native library loader that mimics the one in love.filesystem, so packages that depend on C code like LPEG or luafilesystem should now just work. Actually packaging the libraries is still something I have to think about, but so long as they are a real file, either in the game's install dir or save dir, the loader will pick up on them.
Notably, it now works on Windows, for a certain definition of "works". I can run and use it normally on my Windows 8 desktop, although a lot of the tests still fail and I have no doubt there are probably still serious bugs.
To do that, the whole method of invoking luarocks had to be revamped: now instead of calling it from the command line, we instead just take advantage of the fact that luarocks is installed like any other package and just require() the parts we need from directly. This is, surprisingly, a net negative in hacks and workarounds, and it should make it possible to implement things that aren't directly implemented in luarocks.
Also, I wrote a native library loader that mimics the one in love.filesystem, so packages that depend on C code like LPEG or luafilesystem should now just work. Actually packaging the libraries is still something I have to think about, but so long as they are a real file, either in the game's install dir or save dir, the loader will pick up on them.