How to configure CodeRunner (OSX) with Love

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Ranma13
Prole
Posts: 4
Joined: Tue Jul 31, 2012 8:21 am

How to configure CodeRunner (OSX) with Love

Post by Ranma13 »

Hey everyone, if any of you have purchased CodeRunner for OSX and are wondering how to configure it to run Love, here's how you do it:

1. Run CodeRunner.
2. Go to the preferences.
3. Under Languages -> Lua, find the checkbox that says "Language uses compilation script" and check it.
4. Click on Edit Script...
5. You should see a large comment block and some other text. Go ahead and delete all of it except for the first line (#!/bin/bash).
6. Type "echo $PWD" (without the quotes) on a new line, then save the file.
7. Go back to the preferences.
8. In the textbox for "Run Command", type "/Applications/love.app/Contents/MacOS/love $compiler" without the quotes.
9. Close the preferences and try to run a main.lua file.
10. Enjoy!
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: How to configure CodeRunner (OSX) with Love

Post by Lafolie »

Does this application run on Snow Leopard? I have Lion but I'm not that keen on it. If it runs on 10.6 I might try it.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
dfb98
Prole
Posts: 1
Joined: Sat Feb 22, 2014 10:39 am

Re: How to configure CodeRunner (OSX) with Love

Post by dfb98 »

Thank you!
This helped me alot! :awesome:
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 8 guests