Page 3 of 3

Re: love.maker (automated distribution + minification)

Posted: Wed Feb 17, 2021 8:18 am
by borr
the first error occurs even if I comment the line

Code: Select all

--local reset = "\x1B[m"
test proiject from here https://github.com/Krunklehorn/dead-by-default thanx Krunklehorn

Re: love.maker (automated distribution + minification)

Posted: Wed Feb 17, 2021 8:26 am
by ivan
Borr, can you please post the file which is causing this error.

Code: Select all

local reset = "\x1B[m"
The line above seems to work fine with the latest version on BitBucket.

Re: love.maker (automated distribution + minification)

Posted: Wed Feb 17, 2021 8:46 am
by borr
project:
https://github.com/Krunklehorn/dead-by-default

when I try to build this project I get the error:
Error: maker/minify.lua:949: attempt to index a nil value
stack traceback:
[string "boot.lua"]:777: in function '__index'
maker/minify.lua:949: in function 'expr'
maker/minify.lua:751: in function 'functionargs'
maker/minify.lua:833: in function 'simpleexpr'
maker/minify.lua:944: in function 'subexpr'
maker/minify.lua:951: in function 'expr'
maker/minify.lua:1004: in function 'exprstat'
maker/minify.lua:1318: in function 'statement'
maker/minify.lua:1330: in function 'block'
...
maker/minify.lua:3213: in function 'minify'
maker/main.lua:58: in function 'save'

Re: love.maker (automated distribution + minification)

Posted: Wed Feb 24, 2021 10:57 am
by ivan
Ok, I tried building the project and looks like the minifier doesn't like the syntax:

Code: Select all

func{param1=true}.foo
I will try to get that fixed, but it's not my code so it may take a while.
Thanks for the bug report!

Re: love.maker (automated distribution + minification)

Posted: Sun Jan 16, 2022 5:50 pm
by ivan
borr wrote: Wed Feb 17, 2021 8:46 am when I try to build this project I get the error:
I have pushed an update to the project using a different minification library so this issue should be resolved as of today.

Re: love.maker (automated distribution + minification)

Posted: Sat Feb 05, 2022 7:36 am
by borr
thanks i'll take a look