From 3bdb7881002062f8eaeee6642d5cbdc77b529919 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 9 Dec 2024 17:40:39 +0300 Subject: [PATCH 1/2] chore: added a launch.json for VScode users --- .gitignore | 2 +- .vscode/launch.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 005c0db..401bc78 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,7 @@ .classpath .project .settings/ -.vscode/* + # Flutter repo-specific /bin/cache/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6860335 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,40 @@ +{ + "configurations": [ + { + "name": "Launch Development flavor", + "type": "dart", + "request": "launch", + "program": "lib/main_development.dart", + "args": [ + "--flavor", + "development", + "--target", + "lib/main_development.dart" + ] + }, + { + "name": "Launch Staging flavor", + "type": "dart", + "request": "launch", + "program": "lib/main_staging.dart", + "args": [ + "--flavor", + "staging", + "--target", + "lib/main_staging.dart" + ] + }, + { + "name": "Launch Production flavor", + "type": "dart", + "request": "launch", + "program": "lib/main_production.dart", + "args": [ + "--flavor", + "staging", + "--target", + "lib/main_production.dart" + ] + } + ] +} \ No newline at end of file From 264016f8fa246586e1a63db4d1dd4e2bd6f7c884 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 9 Dec 2024 17:55:07 +0300 Subject: [PATCH 2/2] fix: changed the args for Launch Production flavor from staging to production. --- .vscode/launch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 6860335..15340df 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -31,7 +31,7 @@ "program": "lib/main_production.dart", "args": [ "--flavor", - "staging", + "production", "--target", "lib/main_production.dart" ]