Created
January 25, 2023 14:26
-
-
Save PlugFox/a4da7612afbaf782fd5db074ba618e35 to your computer and use it in GitHub Desktop.
VS Code tasks for flutter
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "flutter", | |
"command": "flutter", | |
"options": { | |
"cwd": "packages/sd_market/" | |
}, | |
"args": [ | |
"build", | |
"${input:typeOs}", | |
"--${input:appBuildConfiguration}", | |
"--flavor=${input:appFlavor}" | |
], | |
"group": "build", | |
"label": "Build Android" | |
}, | |
], | |
"inputs": [ | |
{ | |
"id": "appBuildConfiguration", | |
"description": "Build configuration:", | |
"default": "release", | |
"type": "pickString", | |
"options": [ | |
"debug", | |
"release", | |
"profile" | |
] | |
}, | |
{ | |
"id": "typeOs", | |
"description": "Mobile OS:", | |
"default": "apk", | |
"type": "pickString", | |
"options": [ | |
"apk", | |
"ios" | |
] | |
}, | |
{ | |
"id": "appFlavor", | |
"description": "Flavor value:", | |
"default": "prod", | |
"type": "pickString", | |
"options": [ | |
"prod", | |
"dev", | |
"mock" | |
] | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment