mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-08-08 00:42:08 +00:00
chore: add code gen introductions
This commit is contained in:
parent
aa77d52b58
commit
4bcc05fc8a
16
frontend/app_flowy/.vscode/launch.json
vendored
16
frontend/app_flowy/.vscode/launch.json
vendored
@ -10,8 +10,8 @@
|
|||||||
"program": "${workspaceRoot}/lib/main.dart",
|
"program": "${workspaceRoot}/lib/main.dart",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"preLaunchTask": "build_flowy_sdk",
|
"preLaunchTask": "build_flowy_sdk",
|
||||||
"env":{
|
"env": {
|
||||||
"RUST_LOG":"debug"
|
"RUST_LOG": "debug"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceRoot}"
|
"cwd": "${workspaceRoot}"
|
||||||
},
|
},
|
||||||
@ -21,8 +21,8 @@
|
|||||||
"program": "${workspaceRoot}/lib/main.dart",
|
"program": "${workspaceRoot}/lib/main.dart",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"preLaunchTask": "build_flowy_sdk",
|
"preLaunchTask": "build_flowy_sdk",
|
||||||
"env":{
|
"env": {
|
||||||
"RUST_LOG":"trace"
|
"RUST_LOG": "trace"
|
||||||
},
|
},
|
||||||
"cwd": "${workspaceRoot}"
|
"cwd": "${workspaceRoot}"
|
||||||
},
|
},
|
||||||
@ -32,13 +32,5 @@
|
|||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "profile"
|
"flutterMode": "profile"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Generate Language Files",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${workspaceRoot}/lib/main.dart",
|
|
||||||
"type": "dart",
|
|
||||||
"preLaunchTask": "Generate Language Files",
|
|
||||||
"cwd": "${workspaceRoot}"
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}
|
}
|
38
frontend/app_flowy/.vscode/tasks.json
vendored
38
frontend/app_flowy/.vscode/tasks.json
vendored
@ -50,6 +50,40 @@
|
|||||||
// "$rustc"
|
// "$rustc"
|
||||||
// ],
|
// ],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Code Gen",
|
||||||
|
"type": "shell",
|
||||||
|
"dependsOn": [
|
||||||
|
"Flutter Pub",
|
||||||
|
"Flutter Package Get",
|
||||||
|
"Generate Language Files",
|
||||||
|
"Generate Freezed Files"
|
||||||
|
],
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true,
|
||||||
|
},
|
||||||
|
"dependsOrder": "sequence",
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always",
|
||||||
|
"panel": "new"
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Flutter Pub",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "flutter pub get",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Flutter Package Get",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "flutter packages pub get",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Generate Freezed Files",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "flutter pub run build_runner build --delete-conflicting-outputs",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Generate Language Files",
|
"label": "Generate Language Files",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
@ -87,10 +121,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"group": {
|
|
||||||
"kind": "build",
|
|
||||||
"isDefault": true,
|
|
||||||
},
|
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "${workspaceFolder}/../"
|
"cwd": "${workspaceFolder}/../"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user