Skip to content

Instantly share code, notes, and snippets.

@natcl
Last active December 17, 2015 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natcl/5675360 to your computer and use it in GitHub Desktop.
Save natcl/5675360 to your computer and use it in GitHub Desktop.
A sublime build setting for ino (arduino) files
{
"cmd": ["ino", "build"],
"working_dir": "$file_path",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"variants": [
{ "cmd": ["ino", "upload"],
"working_dir": "$file_path",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"name": "ino upload"
},
{ "cmd": ["ino", "upload"],
"working_dir": "$file_path",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"name": "Run"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment