Created
June 6, 2020 21:10
-
-
Save bowmanmike/49ec76067ba65fdc09217e091fd8200d to your computer and use it in GitHub Desktop.
VSCode Elixir tasks.json
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "mix test -- all", | |
"type": "shell", | |
"group": "test", | |
"command": "mix test", | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
], | |
}, | |
{ | |
"label": "mix test -- file", | |
"type": "shell", | |
"group": "test", | |
"command": [ | |
"mix test", | |
"${file}" | |
], | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
], | |
}, | |
{ | |
"label": "mix test -- nearest", | |
"type": "shell", | |
"group": { | |
"isDefault": true, | |
"kind": "test" | |
}, | |
"command": [ | |
"mix test", | |
"${file}:${lineNumber}" | |
], | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
], | |
}, | |
{ | |
"label": "mix compile", | |
"type": "shell", | |
"group": "build", | |
"command": "mix compile", | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
] | |
}, | |
{ | |
"label": "mix format", | |
"type": "shell", | |
"group": "build", | |
"command": "mix format", | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
] | |
}, | |
{ | |
"label": "mix lint", | |
"type": "shell", | |
"group": "build", | |
"command": "mix lint", | |
"problemMatcher": [ | |
"$mixCompileError", | |
"$mixCompileWarning", | |
"$mixTestFailure" | |
] | |
}, | |
{ | |
"label": "mix compile, format, lint", | |
"type": "shell", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"dependsOn": [ | |
"mix compile", | |
"mix format", | |
"mix lint" | |
], | |
"dependsOrder": "sequence" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment