Add a convenience test task for vscode (#9570)

This commit is contained in:
xster 2017-04-26 13:48:28 -07:00 committed by GitHub
parent e2cd78358f
commit f645245ffd
2 changed files with 18 additions and 0 deletions

View File

@ -3,3 +3,4 @@
pubspec.lock
doc/api/
coverage/
.vscode

17
packages/flutter/.vscode/tasks.json vendored Normal file
View 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}"]
}
]
}