mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
tweak gitignore and vscode config (#1433)
* tweak gitignore and vscode config * restore settings --------- Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -19,7 +19,7 @@ migrate_working_dir/
|
|||||||
# The .vscode folder contains launch configuration and tasks you configure in
|
# The .vscode folder contains launch configuration and tasks you configure in
|
||||||
# VS Code which you may wish to be included in version control, so this line
|
# VS Code which you may wish to be included in version control, so this line
|
||||||
# is commented out by default.
|
# is commented out by default.
|
||||||
#.vscode/
|
.vscode/
|
||||||
|
|
||||||
# Flutter repo-specific
|
# Flutter repo-specific
|
||||||
/bin/cache/
|
/bin/cache/
|
||||||
@@ -134,7 +134,12 @@ app.*.symbols
|
|||||||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
|
||||||
!/dev/ci/**/Gemfile.lock
|
!/dev/ci/**/Gemfile.lock
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
|
||||||
/lib/build_config.dart
|
/lib/build_config.dart
|
||||||
|
|
||||||
devtools_options.yaml
|
devtools_options.yaml
|
||||||
|
|
||||||
|
# FVM Version Cache
|
||||||
|
.fvm/
|
||||||
41
.vscode/launch.json
vendored
41
.vscode/launch.json
vendored
@@ -5,21 +5,44 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "piliplus",
|
"name": "Debug",
|
||||||
"request": "launch",
|
|
||||||
"type": "dart"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "piliplus (profile mode)",
|
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "profile"
|
"preLaunchTask": "Update build_config"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "piliplus (release mode)",
|
"name": "Profile",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"type": "dart",
|
"type": "dart",
|
||||||
"flutterMode": "release"
|
"flutterMode": "profile",
|
||||||
|
"preLaunchTask": "Update build_config"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Release",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "dart",
|
||||||
|
"flutterMode": "release",
|
||||||
|
"preLaunchTask": "Update build_config"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Debug (FVM)",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "dart",
|
||||||
|
"preLaunchTask": "Update build_config (FVM)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Profile (FVM)",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "dart",
|
||||||
|
"flutterMode": "profile",
|
||||||
|
"preLaunchTask": "Update build_config (FVM)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Release (FVM)",
|
||||||
|
"request": "launch",
|
||||||
|
"type": "dart",
|
||||||
|
"flutterMode": "release",
|
||||||
|
"preLaunchTask": "Update build_config (FVM)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "Update build_config",
|
||||||
|
"command": "dart lib/scripts/build.dart",
|
||||||
|
"type": "shell",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always"
|
||||||
|
},
|
||||||
|
"group": "build"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Update build_config (FVM)",
|
||||||
|
"command": "fvm dart lib/scripts/build.dart",
|
||||||
|
"type": "shell",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"presentation": {
|
||||||
|
"reveal": "always"
|
||||||
|
},
|
||||||
|
"group": "build"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user