Chained run configurations
{
"configurations": [
{
"type": "command",
"name": "final",
"dependsOn": ["first", "second"],
"program": "echo",
"args": ["final"]
}, {
"type": "command",
"name": "first",
"program": "echo",
"args": ["first"]
}, {
"type": "command",
"name": "second",
"program": "echo",
"args": ["second"]
}
]
}
When you run final
, it will execute the run configurations specified in the dependsOn
property step-by-step:
first
second
final
note
Should any of the tasks fail, the execution ceases, and the rest of the steps are not launched.
Thanks for your feedback!
Was this page helpful?