Love Builder - Automatic .love and Executable Creation

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
BlackBulletIV
Inner party member
Posts: 1261
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Love Builder - Automatic .love and Executable Creation

Post 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. :)
User avatar
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

Post by BlackBulletIV »

Anybody got any comments on this?
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Love Builder - Automatic .love and Executable Creation

Post 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.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Love Builder - Automatic .love and Executable Creation

Post by EMB »

Anything for windows folks?
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
User avatar
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

Post 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.
Help us help you: attach a .love.
User avatar
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

Post 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.
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Love Builder - Automatic .love and Executable Creation

Post 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.
Request Programs
If Linux were a beer, it would be shipped in open barrels so that anybody could piss in it before delivery
User avatar
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

Post 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).
EMB
Citizen
Posts: 70
Joined: Sat Jan 08, 2011 8:49 pm

Re: Love Builder - Automatic .love and Executable Creation

Post by EMB »

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
User avatar
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

Post 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).
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests