Add a convenience test task for vscode (#9570)
This commit is contained in:
1
packages/flutter/.gitignore
vendored
1
packages/flutter/.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
pubspec.lock
|
pubspec.lock
|
||||||
doc/api/
|
doc/api/
|
||||||
coverage/
|
coverage/
|
||||||
|
.vscode
|
||||||
|
|||||||
17
packages/flutter/.vscode/tasks.json
vendored
Normal file
17
packages/flutter/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"version": "0.1.0",
|
||||||
|
"command": "flutter",
|
||||||
|
"args": [],
|
||||||
|
"showOutput": "always",
|
||||||
|
"echoCommand": true,
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
// Assign key binding to workbench.action.tasks.test to quickly run
|
||||||
|
// the currently open test.
|
||||||
|
"taskName": "test",
|
||||||
|
"isTestCommand": true,
|
||||||
|
"isShellCommand": true,
|
||||||
|
"args": ["${file}"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user