How to configure CodeRunner (OSX) with Love
Posted: Tue Jul 31, 2012 8:25 am
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!
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!