Created
June 26, 2012 22:38
-
-
Save jfcalvo/2999799 to your computer and use it in GitHub Desktop.
My Sublime Text 2 Build System to build MoaiSDK Projects with MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Change MOAI_BIN environment for the directory where your have MoaiSDK bin | |
*/ | |
{ | |
"cmd": ["./run.sh"], | |
"working_dir": "${project_path:${folder}}", | |
"env": { | |
"MOAI_BIN": "/Users/jfcalvo/Development/moai-sdk/bin/osx/moai" | |
}, | |
"selector": "source.lua" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
$MOAI_BIN config.lua main.lua |
Use ~/path/to/moai-sdk/bin/osx/moai
You may need to give run permission to your .sh file:
https://gist.github.com/typeoneerror/1596565
chmod +x run.sh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you find a way to not hardcode the home directory (
/Users/jfcalvo
)?