dev: add version in launch config

This commit is contained in:
Brúnó Salomon 2022-02-25 18:52:58 +01:00
parent 165f836d93
commit c71a6d9468

5
.vscode/launch.json vendored
View File

@ -7,8 +7,11 @@
{ {
"name": "filcnaplo", "name": "filcnaplo",
"cwd": "filcnaplo", "cwd": "filcnaplo",
"request": "attach", "request": "launch",
"type": "dart", "type": "dart",
"toolArgs": [
"--dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1)"
]
} }
] ]
} }