Created
October 10, 2021 12:35
-
-
Save 0zguner/f7154d7ed9d4f7d3ccba947b7fa50142 to your computer and use it in GitHub Desktop.
Build system for running Openframeworks xcode projects inside sublime text
This file contains hidden or 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
| { | |
| "working_dir": "${project_path:${folder}}", | |
| "shell_cmd": "if pgrep ${project_base_name} &> /dev/null ; then pkill ${project_base_name} ; fi && make && sleep 1 && open ${project_path:${folder}}/bin/${project_base_name}.app", | |
| "file_regex": "^(.*):([0-9]*):[0-9]*:[fatal ]+error: ", | |
| "selector": "source.c++", | |
| "variants": [ | |
| { | |
| "name": "Build & Run (macOS)", | |
| "working_dir": "${project_path:${folder}}", | |
| "shell_cmd": "if pgrep ${project_base_name} &> /dev/null ; then pkill ${project_base_name} ; fi && make && sleep 1 && open ${project_path:${folder}}/bin/${project_base_name}.app", | |
| "file_regex": "^(.*):([0-9]*):[0-9]*:[fatal ]+error: ", | |
| "selector": "source.c++", | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you are experiencing:
The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing"increasing
sleep 1can fix it.