Skip to content

Instantly share code, notes, and snippets.

@saltire
Created October 28, 2019 23:53
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 saltire/39dc7fb7e97593ea2fcffa00fcce1af4 to your computer and use it in GitHub Desktop.
Save saltire/39dc7fb7e97593ea2fcffa00fcce1af4 to your computer and use it in GitHub Desktop.
VSCode tasks file for Processing
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Sketch",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true
},
"command": "$(wslpath '${config:processing.path}')",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated"
},
"args": [
"--force",
"--sketch=${fileDirname}",
"--output=${fileDirname}/out",
"--run"
],
"windows": {
"args": [
"--force",
"--sketch=$(wslpath -w '${fileDirname}')",
"--output=$(wslpath -w '${fileDirname}')/out",
"--run"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment