Skip to content

Commit

Permalink
Reordered VS-Code Tasks to follow the [Release] > [Debug] schema (#3810)
Browse files Browse the repository at this point in the history
Co-authored-by: hedger <[email protected]>
  • Loading branch information
janwiesemann and hedger authored Jul 27, 2024
1 parent 173ecc8 commit 0223c23
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .vscode/example/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,29 +63,23 @@
"type": "shell",
"command": "./fbt updater_all"
},
{
"label": "[Debug] Flash (USB, w/o resources)",
"group": "build",
"type": "shell",
"command": "./fbt FORCE=1 flash_usb"
},
{
"label": "[Release] Flash (USB, w/o resources)",
"group": "build",
"type": "shell",
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash_usb"
},
{
"label": "[Debug:unit_tests] Flash (USB)",
"label": "[Debug] Flash (USB, w/o resources)",
"group": "build",
"type": "shell",
"command": "./fbt FIRMWARE_APP_SET=unit_tests FORCE=1 flash_usb_full"
"command": "./fbt FORCE=1 flash_usb"
},
{
"label": "[Debug] Flash (USB, with resources)",
"label": "[Debug:unit_tests] Flash (USB)",
"group": "build",
"type": "shell",
"command": "./fbt FORCE=1 flash_usb_full"
"command": "./fbt FIRMWARE_APP_SET=unit_tests FORCE=1 flash_usb_full"
},
{
"label": "[Release] Flash (USB, with resources)",
Expand All @@ -94,16 +88,16 @@
"command": "./fbt COMPACT=1 DEBUG=0 FORCE=1 flash_usb_full"
},
{
"label": "[Debug] Create PVS-Studio report",
"label": "[Debug] Flash (USB, with resources)",
"group": "build",
"type": "shell",
"command": "./fbt firmware_pvs"
"command": "./fbt FORCE=1 flash_usb_full"
},
{
"label": "[Debug] Build FAPs",
"label": "[Debug] Create PVS-Studio report",
"group": "build",
"type": "shell",
"command": "./fbt fap_dist"
"command": "./fbt firmware_pvs"
},
{
"label": "[Release] Build FAPs",
Expand All @@ -112,10 +106,10 @@
"command": "./fbt COMPACT=1 DEBUG=0 fap_dist"
},
{
"label": "[Debug] Build App",
"label": "[Debug] Build FAPs",
"group": "build",
"type": "shell",
"command": "./fbt build APPSRC=${relativeFileDirname}"
"command": "./fbt fap_dist"
},
{
"label": "[Release] Build App",
Expand All @@ -124,17 +118,23 @@
"command": "./fbt COMPACT=1 DEBUG=0 build APPSRC=${relativeFileDirname}"
},
{
"label": "[Debug] Launch App on Flipper",
"label": "[Debug] Build App",
"group": "build",
"type": "shell",
"command": "./fbt launch APPSRC=${relativeFileDirname}"
"command": "./fbt build APPSRC=${relativeFileDirname}"
},
{
"label": "[Release] Launch App on Flipper",
"group": "build",
"type": "shell",
"command": "./fbt COMPACT=1 DEBUG=0 launch APPSRC=${relativeFileDirname}"
},
{
"label": "[Debug] Launch App on Flipper",
"group": "build",
"type": "shell",
"command": "./fbt launch APPSRC=${relativeFileDirname}"
},
{
"label": "[Debug] Launch App on Flipper with Serial Console",
"dependsOrder": "sequence",
Expand All @@ -145,16 +145,16 @@
]
},
{
"label": "[Debug] Build and upload all FAPs to Flipper over USB",
"label": "[Release] Build and upload all FAPs to Flipper over USB",
"group": "build",
"type": "shell",
"command": "./fbt fap_deploy"
"command": "./fbt COMPACT=1 DEBUG=0 fap_deploy"
},
{
"label": "[Release] Build and upload all FAPs to Flipper over USB",
"label": "[Debug] Build and upload all FAPs to Flipper over USB",
"group": "build",
"type": "shell",
"command": "./fbt COMPACT=1 DEBUG=0 fap_deploy"
"command": "./fbt fap_deploy"
},
{
// Press Ctrl+] to quit
Expand All @@ -180,4 +180,4 @@
}
}
]
}
}

0 comments on commit 0223c23

Please sign in to comment.