Skip to content

Instantly share code, notes, and snippets.

@vovaklh
Created March 3, 2022 15:35
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save vovaklh/050d35b98908d4686845669f50fe9105 to your computer and use it in GitHub Desktop.
Save vovaklh/050d35b98908d4686845669f50fe9105 to your computer and use it in GitHub Desktop.
{
"version": "2.0.0",
"tasks": [
{
"label": "flutter: analyze",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"analyze"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: pub get",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"pub",
"get"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: clean",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"clean"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: build_runner",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"pub",
"run",
"build_runner",
"build",
"--delete-conflicting-outputs"
],
"presentation": {
"echo": true,
"focus": true,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: format",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"format",
"lib"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: build test apk",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"build",
"apk",
"-t",
"lib/main_test.dart"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: build dev apk",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"build",
"apk",
"-t",
"lib/main_dev.dart"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
{
"label": "flutter: build prod apk",
"type": "shell",
"command": "flutter",
"group": "build",
"runOptions": {
"instanceLimit": 1,
"reevaluateOnRerun": false
},
"args": [
"build",
"apk",
"-t",
"lib/main_prod.dart"
],
"presentation": {
"echo": true,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
},
"problemMatcher": []
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment