forked from firka/student-legacy
dev: add version in launch config
This commit is contained in:
parent
165f836d93
commit
c71a6d9468
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
@ -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)"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user