Skip to content

Instantly share code, notes, and snippets.

@emilk
Last active April 20, 2020 16:42
Show Gist options
  • Save emilk/6aa7d28bfc45117f8bd1ef41c772f587 to your computer and use it in GitHub Desktop.
Save emilk/6aa7d28bfc45117f8bd1ef41c772f587 to your computer and use it in GitHub Desktop.
sublime-build for xcode projects
{
"working_dir": "${project_path:${folder}}",
"shell_cmd": "xcodebuild -project *.xcodeproj",
"file_regex": "^(.*):([0-9]*):[0-9]*:[fatal ]+error: ",
"selector": "source.c++",
"variants": [
{
"name": "Build & Run",
"working_dir": "${project_path:${folder}}",
"shell_cmd": "xcodebuild -project *.xcodeproj && Build/Release/*.app/Contents/MacOS/*",
"file_regex": "^(.*):([0-9]*):[0-9]*:[fatal ]+error: ",
"selector": "source.c++",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment