Last active
June 16, 2024 13:40
-
-
Save wolf81/f0d84790b31e003440da1bec64e60ad8 to your computer and use it in GitHub Desktop.
Sublime Text build systems for LÖVE & LÖVR
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
# would be better to /only/ add the binaries somehow, not all directory contents? | |
export PATH="/Applications/love.app/Contents/MacOS:$PATH" | |
export PATH="/Applications/lovr.app/Contents/MacOS:$PATH" |
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
Show hidden characters
{ | |
"selector": "source.lua", | |
"file_regex": "^Error: (?:[^:]+: )?([^: ]+?):(\\d+):() ([^:]*)$", | |
"windows": { | |
"cmd": ["C:/Program Files/LOVE/love.exe", "${folder:${file_path}}"], | |
"shell": true | |
}, | |
"osx": { | |
"cmd": ["/Applications/love.app/Contents/MacOS/love", "${folder:${file_path}}"] | |
}, | |
"linux": { | |
"cmd": ["love", "${folder:${file_path}}"] | |
} | |
} |
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
{ | |
"selector": "source.lua", | |
"file_regex": "^Error: (?:[^:]+: )?([^: ]+?):(\\d+):() ([^:]*)$", | |
"windows": { | |
"cmd": ["C:/Program Files/LOVR/lovr.exe", "${folder:${file_path}}"], | |
"shell": true | |
}, | |
"osx": { | |
"cmd": ["/Applications/lovr.app/Contents/MacOS/lovr", "${folder:${file_path}}"] | |
}, | |
"linux": { | |
"cmd": ["lovr", "${folder:${file_path}}"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment