Reputation: 14462
I want to make a custom configuration step for a custom build system. It looks like:
binary1 arg1 arg2 …
binary2 arg3 arg4 …
<internal vscode command from other extension>
I want to bind this to a single shortcut, and the tasks mechanism looks like a suitable solution. But I can't figure out how to express my intention in a proper task json format.
How to do that?
Or maybe there is a better approach to my problem than using tasks.
Upvotes: 2
Views: 4523
Reputation: 8974
VSCode features Compound Tasks.
You define the steps of your build process as separate tasks and then reference them from the compound task.
Upvotes: 4