Page 12 of 15

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

Posted: Thu Apr 14, 2016 10:47 pm
by Rucikir
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 :/

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

Posted: Sun Apr 17, 2016 4:46 am
by kbmonkey
Thank you for the notice and good luck finding the bug :monocle:

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

Posted: Thu Apr 21, 2016 8:27 am
by nyx
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?

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

Posted: Thu Apr 21, 2016 5:06 pm
by nyx
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]: ?

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

Posted: Fri May 13, 2016 8:14 am
by nuno
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?

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

Posted: Fri May 13, 2016 12:48 pm
by Tanner
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

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

Posted: Wed May 25, 2016 12:34 am
by Rucikir
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

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

Posted: Wed Jan 18, 2017 2:35 pm
by Tanner
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.

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

Posted: Sun Feb 12, 2017 7:14 am
by 4aiman
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)

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

Posted: Sun Feb 12, 2017 1:19 pm
by Tanner
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.