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.
Love Builder - Automatic .love and Executable Creation
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Builder - Automatic .love and Executable Creation
Anybody got any comments on this?
Re: Love Builder - Automatic .love and Executable Creation
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
Anything for windows folks?
I really need an executable creator...
I really need an executable creator...
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Love Builder - Automatic .love and Executable Creation
Why do you need it? The beauty of LÖVE is that it doesn't need things like that.EMB wrote:Anything for windows folks?
I really need an executable creator...
Anyway, a batch file like the following would work?
Code: Select all
copy /b love.exe+game.love game.exe
Help us help you: attach a .love.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Builder - Automatic .love and Executable Creation
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.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.
EDIT: I've added an (untested) Windows version merging.
Re: Love Builder - Automatic .love and Executable Creation
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.
Damn, looking at the Ruby it just uses the method from the wiki. T.T No executable for windows ppl.
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Builder - Automatic .love and Executable Creation
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).
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
If it makes any difference, I am on a 64-bit machine so that might be the problem.
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Love Builder - Automatic .love and Executable Creation
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).
Who is online
Users browsing this forum: No registered users and 2 guests