Merge pull request #507 from AppFlowy-IO/opti_build_time

chore: udpate launch task
This commit is contained in:
Nathan.fooo 2022-05-26 16:27:11 +08:00 committed by GitHub
commit 60b80005ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,18 +5,30 @@
"version": "0.2.0",
"configurations": [
{
"name": "app_flowy",
// This task builds the Rust and Dart code of AppFlowy.
"name": "Build",
"request": "launch",
"program": "${workspaceRoot}/lib/main.dart",
"type": "dart",
"preLaunchTask": "build_flowy_sdk",
"type": "dart",
"env": {
"RUST_LOG": "debug"
},
"cwd": "${workspaceRoot}"
},
{
"name": "app_flowy(trace)",
// This task only build the Dart code of AppFlowy.
"name": "Build (Dart)",
"request": "launch",
"program": "${workspaceRoot}/lib/main.dart",
"type": "dart",
"env": {
"RUST_LOG": "debug"
},
"cwd": "${workspaceRoot}"
},
{
"name": "Build (trace log)",
"request": "launch",
"program": "${workspaceRoot}/lib/main.dart",
"type": "dart",
@ -27,7 +39,7 @@
"cwd": "${workspaceRoot}"
},
{
"name": "app_flowy (profile mode)",
"name": "Build (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"