Last active
August 29, 2015 13:56
-
-
Save mimetaur/9162145 to your computer and use it in GitHub Desktop.
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
{ | |
"cmd": ["make"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"working_dir": "${project_path:${folder}}", | |
"selector": "source.c, source.c++", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"working_dir": "${project_path:${folder}}", | |
"cmd": ["bash","-c", "make run" ] | |
}, | |
{ | |
"name": "Deploy to Pi", | |
// "cmd": ["bash", "-c", "scp -r -v ${project_path} pi@raspberrypi.lan:~/openFrameworks/apps/myApps"] | |
"cmd": ["bash", "-c", "deploy_pi ${project_path}"] | |
}, | |
{ | |
"name": "Build on Pi", | |
"cmd": ["ssh pi && cd ~/openFrameworks/apps/myApps/${project_base_name} && make"], | |
"shell": true | |
}, | |
{ | |
"name": "Run on Pi", | |
"cmd": ["bash", "-c", "ssh pi", "cd ~/openFrameworks/apps/myApps/${project_base_name}", "make run"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment