love-release - in Lua ! - makes LÖVE game release easier

Showcase your libraries, tools and other projects that help your fellow love users.
premek
Prole
Posts: 21
Joined: Mon Dec 28, 2015 12:44 am
Contact:

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by premek »

dan369 wrote: Tue May 08, 2018 5:11 pm I have this issue on windows.
maybe we have old libzip version? It works locally on my debian linux with libzip 1.1.2-1.1+b1
dan369
Prole
Posts: 44
Joined: Tue Apr 15, 2014 10:53 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by dan369 »

premek wrote: Tue May 08, 2018 5:29 pm
dan369 wrote: Tue May 08, 2018 5:11 pm I have this issue on windows.
maybe we have old libzip version? It works locally on my debian linux with libzip 1.1.2-1.1+b1
I'm using libzip 1.5.1. It compiles fine, but when i run it i get that error.
premek
Prole
Posts: 21
Joined: Mon Dec 28, 2015 12:44 am
Contact:

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by premek »

I got it working on Travis CI. (after 2 days of trial and error) I needed to update from Trusty to Xenial. Update to Bionic was not working so I also needed to update luarocks via luarocks.

The build takes 9 minutes :( The ubuntu update is slow and also it needs sudo so it does not run in docker on Travis I think...

Code: Select all

        - sudo sed -i 's/trusty/xenial/g' /etc/apt/sources.list && sudo apt-get update -q && sudo apt-get upgrade -y
        - sudo apt-get install -y  libzip-dev luarocks lua5.1 fakeroot 
        - luarocks install --local luarocks # update
        - luarocks install --local love-release
        - "`luarocks path --bin`" # execute the luarocks output - sets the paths for 'local' tree
https://github.com/premek/laugh-grow-fa ... travis.yml
dan369
Prole
Posts: 44
Joined: Tue Apr 15, 2014 10:53 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by dan369 »

Has anyone been able to get the latest version working on windows?
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by Rucikir »

Hi all,

A minor version of love-release was just released that fixes a bug
occurring when byte-compiling a game. love-release tried to byte
compile every file from the project, even assets. Thanks to Benoit
Giannangeli (@giann) for reporting it.

Keep hacking!


For the sake of completion, I’m answering old messages.
premek wrote: Tue May 08, 2018 10:59 pm I got it working on Travis CI.
If I recall correctly, my setup was inpired by:
http://kiki.to/blog/2016/02/04/talk-con ... -with-lua/

and hererocks:
https://github.com/mpeterv/hererocks
dan369 wrote: Sun May 13, 2018 9:42 pm Has anyone been able to get the latest version working on windows?
I'd be interested to hear if anyone has news on this
subject. Otherwise, I guess people can just use the WLS now.
User avatar
yancouto
Prole
Posts: 8
Joined: Sat Jan 21, 2017 2:14 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by yancouto »

For those who had problem installing love-release, it is because it only works with an old version of luarocks. This script installs the correct version of luarocks and then installs love-release. WARNING: Uninstall luarocks before running this, as it will install it again.
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by Rucikir »

yancouto wrote: Tue Dec 04, 2018 11:00 pm For those who had problem installing love-release, it is because it only works with an old version of luarocks.
I have updated love-release to use LuaRocks 3. It’s tagged v2.0.9 (I may have been presumptuous by tagging early). Have fun!
https://github.com/MisterDA/love-release
dan369
Prole
Posts: 44
Joined: Tue Apr 15, 2014 10:53 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by dan369 »

Tried to install the latest version on windows, all works well until i call love-release which says;

"entry point zip_unchange_all could not be located in dynamic link library C:\luarocks-3.0.4\win32\lua5.1\lib\lua\5.1\misterda\zip.dll" :(
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by Rucikir »

Yeah, that was very buggy.
Hopefully, as of love-release 2.0.11 and lua-zip 0.2 (I have removed my fork), much of the bugs (if not all) are fixed, except some that are not.

Could you please test now ?
User avatar
Rucikir
Party member
Posts: 129
Joined: Tue Nov 05, 2013 6:33 pm

Re: love-release - in Lua ! - makes LÖVE game release easier

Post by Rucikir »

I have released love-release 2.0.16 which replaces Bitbucket links with GitHub. Thanks to Alloyed for updating loadconf to support LÖVE 11.3.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests