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

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Rucikir
Party member
Posts: 119
Joined: Tue Nov 05, 2013 6:33 pm
Location: Paris
Contact:

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

Post by Rucikir » Thu Apr 14, 2016 10:47 pm

Hi to all developers participating to the LD35 !
I'd like to warn you that unfortunately there's an issue with love-release, love-release not packing everything in project directory, where love-release does not, hum, package everything in the project directory. I'll try to find the time to fix this before you really need to use love-release, but if I can't please double-check what love-release packages with theses simple steps :
- check the file list printed on the console
- run the generated .love file. If it works, other apps and packages should work.

Sorry for the trouble :/
Lua script to distribute your LÖVE games. love-release.lua : Forum | Github
@Rucikir

User avatar
kbmonkey
Party member
Posts: 124
Joined: Tue Sep 01, 2015 12:19 pm

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

Post by kbmonkey » Sun Apr 17, 2016 4:46 am

Thank you for the notice and good luck finding the bug :monocle:

nyx
Prole
Posts: 8
Joined: Sun Apr 17, 2016 3:09 am

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

Post by nyx » Thu Apr 21, 2016 8:27 am

I'm getting the following error trying to run this command in the game directory:

Code: Select all

$ love-release -D . .

Code: Select all

/usr/local/bin/love-release: line 1: ---: command not found
/usr/local/bin/love-release: line 2: --: command not found
/usr/local/bin/love-release: line 4: local: can only be used in a function
/usr/local/bin/love-release: line 5: local: can only be used in a function
/usr/local/bin/love-release: line 6: local: can only be used in a function
/usr/local/bin/love-release: line 7: local: can only be used in a function
/usr/local/bin/love-release: line 9: syntax error near unexpected token `('
/usr/local/bin/love-release: line 9: `local p = Project:new()'
what am I doing wrong?

nyx
Prole
Posts: 8
Joined: Sun Apr 17, 2016 3:09 am

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

Post by nyx » Thu Apr 21, 2016 5:06 pm

okay, so i figured out how to fix the previous problem, but this is the new issue:

Code: Select all

me@computer:~/gamei$ lua /usr/local/bin/love-release
{
  title = 'Game',
  --[[ etc ]]--
}
lua: error loading module 'brimworks.zip' from file '/usr/local/lib/lua/5.1/brimworks/zip.so':
	/usr/local/lib/lua/5.1/brimworks/zip.so: undefined symbol: zip_get_error
stack traceback:
	[C]: ?
	[C]: in function 'require'
	/usr/local/share/lua/5.1/love-release/script.lua:7: in main chunk
	[C]: in function 'require'
	...sr/local/share/lua/5.1/love-release/scripts/love.lua:5: in main chunk
	[C]: in function 'require'
	/usr/local/share/lua/5.1/love-release/pipes/args.lua:100: in function 'args'
	/usr/local/bin/love-release:11: in main chunk
	[C]: ?

User avatar
nuno
Party member
Posts: 137
Joined: Wed Dec 11, 2013 12:00 pm
Location: Portugal
Contact:

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

Post by nuno » Fri May 13, 2016 8:14 am

Hi guys,

I really need this tool and can't get even past the install process.
doing luarocks install love-release just outputs an error
Error: No results matching query were found.
any tips on how to go from here? or how can I build it from the git code?

User avatar
Tanner
Party member
Posts: 165
Joined: Tue Apr 10, 2012 1:51 am

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

Post by Tanner » Fri May 13, 2016 12:48 pm

nuno wrote:Hi guys,

I really need this tool and can't get even past the install process.
doing luarocks install love-release just outputs an error
Error: No results matching query were found.
any tips on how to go from here? or how can I build it from the git code?
Make sure you're using lua (and luarocks) 5.1

User avatar
Rucikir
Party member
Posts: 119
Joined: Tue Nov 05, 2013 6:33 pm
Location: Paris
Contact:

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

Post by Rucikir » Wed May 25, 2016 12:34 am

Hello everyone !
I have added a big new issue on love-release Github page about what I'd like to do with love-release next. Probably turn it into a complete build tool for LÖVE projects. Check it out ! https://github.com/MisterDA/love-release/issues/40

EDIT: my account on Github has been mysteriously disabled (hidden from the public) because I've posted this rather long issue at a rather late hour.
EDIT 2: it's back on
Lua script to distribute your LÖVE games. love-release.lua : Forum | Github
@Rucikir

User avatar
Tanner
Party member
Posts: 165
Joined: Tue Apr 10, 2012 1:51 am

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

Post by Tanner » Wed Jan 18, 2017 2:35 pm

I just had a PR merged that adds the ability to exclude files based on a string pattern. For example, to exclude docs from your build, you would run

Code: Select all

love-release -xdocs/
and to build for windows and mac while excluding both docs and rockspecs you would run

Code: Select all

love-release -M -W 64 -W 32 -xdocs/ -x%.rockspec

At the time of this writing there hasn't been a build pushed to luarocks but you may still install via the `scm-1` rockspec or clone and build from source.

User avatar
4aiman
Party member
Posts: 239
Joined: Sat Jan 16, 2016 10:30 am

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

Post by 4aiman » Sun Feb 12, 2017 7:14 am

Is there a way to *not* install it via luarocks (don't want luarocks for a couple of reasons) or (preferably *and*) use this thing with LuaJIT?
I can see that the description does mention that it can be done, but whenever I try lo launch this, I'm getting a huge error about missing modules (although those are all in-place)

User avatar
Tanner
Party member
Posts: 165
Joined: Tue Apr 10, 2012 1:51 am

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

Post by Tanner » Sun Feb 12, 2017 1:19 pm

4aiman wrote:
Sun Feb 12, 2017 7:14 am
Is there a way to *not* install it via luarocks (don't want luarocks for a couple of reasons) or (preferably *and*) use this thing with LuaJIT?
I can see that the description does mention that it can be done, but whenever I try lo launch this, I'm getting a huge error about missing modules (although those are all in-place)
My guess, without actually seeing what errors you're getting, is that it's caused by the modules configuration in the luarocks spec which, in turn, means that require calls like this don't actually point at anything.

Renaming the `src` folder to `love-release` may fix your problem.

Post Reply

Who is online

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