From c71a6d94681ddee024a937ff7ee6db13b7cd894d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Br=C3=BAn=C3=B3=20Salomon?= Date: Fri, 25 Feb 2022 18:52:58 +0100 Subject: [PATCH] dev: add version in launch config --- .vscode/launch.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index bff795b..8cc3a0f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,8 +7,11 @@ { "name": "filcnaplo", "cwd": "filcnaplo", - "request": "attach", + "request": "launch", "type": "dart", + "toolArgs": [ + "--dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1)" + ] } ] } \ No newline at end of file