Created
April 21, 2016 05:01
-
-
Save EthraZa/f57c0d8ff39b76cd2ce75c68f29092fd 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
// | |
// Visual Studio Code Arduino Tasks.json | |
// Author: Allan Brazute @ SpotApp | |
// | |
// ${workspaceRoot}: the root folder of the team | |
// ${file}: the current opened file | |
// ${fileBasename}: the current opened file's basename | |
// ${fileDirname}: the current opened file's dirname | |
// ${fileExtname}: the current opened file's extension | |
// ${cwd}: the current working directory of the spawned process | |
// | |
{ | |
"version": "0.1.0", | |
"command": "bash", | |
"isShellCommand": true, | |
"showOutput": "always", | |
"args": ["-c"], | |
"tasks": [ | |
{ | |
"taskName": "Verify", | |
"suppressTaskName": true, | |
"isTestCommand": true, | |
"args": ["arduino -v --verify ${file}"] | |
},{ | |
"taskName": "Upload", | |
"suppressTaskName": true, | |
"isBuildCommand": true, | |
"args": ["arduino -v --upload ${file}"] | |
},{ | |
"taskName": "Serial Monitor", | |
"suppressTaskName": true, | |
"args": ["cat /dev/ttyACM0"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment