love.maker (automated distribution + minification)

Showcase your libraries, tools and other projects that help your fellow love users.
borr
Prole
Posts: 42
Joined: Wed Oct 16, 2019 7:39 pm

Re: love.maker (automated distribution + minification)

Post 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
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: love.maker (automated distribution + minification)

Post 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.
borr
Prole
Posts: 42
Joined: Wed Oct 16, 2019 7:39 pm

Re: love.maker (automated distribution + minification)

Post 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'
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: love.maker (automated distribution + minification)

Post 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!
User avatar
ivan
Party member
Posts: 1915
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: love.maker (automated distribution + minification)

Post 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.
borr
Prole
Posts: 42
Joined: Wed Oct 16, 2019 7:39 pm

Re: love.maker (automated distribution + minification)

Post by borr »

thanks i'll take a look
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests