VSCode launch and build tasks

This commit is contained in:
Tony Bark 2021-06-06 14:38:39 -04:00
parent eeb5c9ac28
commit 9ede820eb8
2 changed files with 69 additions and 0 deletions

19
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,19 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "bullseye",
"request": "launch",
"type": "dart"
},
{
"name": "bullseye (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
}
]
}

50
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,50 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "flutter",
"command": "flutter",
"args": ["build", "apk"],
"group": "build",
"problemMatcher": [],
"label": "flutter: flutter build apk"
},
{
"type": "flutter",
"command": "flutter",
"args": ["build", "ios"],
"group": "build",
"problemMatcher": [],
"label": "flutter: flutter build ios"
},
{
"type": "flutter",
"command": "flutter",
"args": ["build", "macos"],
"group": "build",
"problemMatcher": [],
"label": "flutter: flutter build macos"
},
{
"type": "flutter",
"command": "flutter",
"args": ["install"],
"problemMatcher": [],
"label": "flutter: flutter install"
},
{
"type": "flutter",
"command": "flutter",
"args": ["pub", "get"],
"problemMatcher": [],
"label": "flutter: flutter pub get"
},
{
"type": "flutter",
"command": "flutter",
"args": ["pub", "upgrade"],
"problemMatcher": [],
"label": "flutter: flutter pub upgrade"
}
]
}