luarocks integration?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
iggyvolz
Prole
Posts: 14
Joined: Sun Nov 23, 2014 11:11 pm

luarocks integration?

Post by iggyvolz »

Hey guys! I just found this the other day, and I must say that I... wait for it... LÖVE this software! :D

I was wondering if there was any way that this software could be integrated with luarocks. For those who don't know, luarocks installs "rocks" (groups of .lua scripts just like love programs) from a remote server and handles dependencies. It would be awesome to simply add the "love" package as a dependency and be able to "luarocks install <insert game name here>" so I could then run the program as a shell script.

I don't know if there were any plans for this. I could certainly make a package called "love" which would download/install the appropriate löve binary, but I don't want to intrude if anyone else is already planning this or there is a better method for it!
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: luarocks integration?

Post by josefnpat »

Well, the biggest issue imo is that LÖVE is written in C++, so I'm not sure if it really fits in the LuaRocks repo.

I can tell you that over at http://rocks.moonscript.org love modules and libraries are welcome. I even set up a love manifest: https://rocks.moonscript.org/m/love

I went through the process and made one just to test out the process, if you're looking for an example:

https://rocks.moonscript.org/modules/jo ... radarchart
Missing Sentinel Software | Twitter

FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests