Page 1 of 5
Love Builder - Automatic .love and Executable Creation
Posted: Wed Feb 02, 2011 10:58 pm
by BlackBulletIV
I've written a little Ruby script that can automatically create .love files and merged executables on Mac and Linux. See the the
GitHub repo for the script and more information.
Tell me what you think.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sat Feb 05, 2011 10:53 am
by BlackBulletIV
Anybody got any comments on this?
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sat Feb 05, 2011 11:11 am
by vrld
I like
my Makefile better, because:
- it doesn't need ruby (which I don't have installed),
- it's shorter,
- it integrates nicely into vim and, most importantly
- i can write make love.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sat Feb 05, 2011 11:51 am
by EMB
Anything for windows folks?
I really need an executable creator...
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sat Feb 05, 2011 12:04 pm
by Robin
EMB wrote:Anything for windows folks?
I really need an executable creator...
Why do you need it? The beauty of LÖVE is that it doesn't need things like that.
Anyway, a batch file like the following would work?
Code: Select all
copy /b love.exe+game.love game.exe
(As seen on the
wiki.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sat Feb 05, 2011 7:46 pm
by BlackBulletIV
vrld wrote:I like
my Makefile better, because:
- it doesn't need ruby (which I don't have installed),
- it's shorter,
- it integrates nicely into vim and, most importantly
- i can write make love.
Looks good. But the reason it's shorter is because it doesn't do error printing (does make handle that or something?) and it doesn't create merged executables for Mac/Linux.
EDIT: I've added an (untested) Windows version merging.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sun Feb 06, 2011 10:20 am
by EMB
Robin, have you actually tried that method? It doesn't work. So don't patronise me.
Damn, looking at the Ruby it just uses the method from the wiki. T.T No executable for windows ppl.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sun Feb 06, 2011 10:39 am
by BlackBulletIV
Well I know that method has worked for others. I'll have to pull up my Windows virtual machine and give it a shot sometime.
The program is just a wrapper for the process; although the main reason I created is because, 1) .love building is a often repeated exercise, and 2) merging executables on Mac is more complicated than on other systems (if you want the more secure way).
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sun Feb 06, 2011 10:45 am
by EMB
If it makes any difference, I am on a 64-bit machine so that might be the problem.
Re: Love Builder - Automatic .love and Executable Creation
Posted: Sun Feb 06, 2011 10:48 am
by BlackBulletIV
It may well be. I'm not sure if it's at all relavent, but I've had "bit problems" when using luac on a Mac (because it's 32bit on a Mac).