We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is it possible to call a task from another task?
I am not currently looking for recursion but just sequencing 2 or 3 tasks under one task.
The text was updated successfully, but these errors were encountered:
Yes, a task can have a dependsOn property. Something like:
dependsOn
{ "version": "2.0.0", "tasks": [ { "taskName": "compile", "dependsOn": [ "compile:server", "compile:client" ], "group": { "kind": "build", "isDefault": true }, "problemMatcher": [] }, { "taskName": "compile:types", "type": "shell", "command": "npm run compile:types", "group": "build", "presentation": { "panel": "dedicated", "reveal": "never" }, "problemMatcher": [ "$tsc" ] }, { "taskName": "compile:jsonrpc", "type": "shell", "command": "npm run compile:jsonrpc", "group": "build", "presentation": { "panel": "dedicated", "reveal": "never" }, "problemMatcher": [ "$tsc" ] }, { "taskName": "compile:protocol", "type": "shell", "command": "npm run compile:protocol", "group": "build", "presentation": { "panel": "dedicated", "reveal": "never" }, "problemMatcher": [ "$tsc" ], "dependsOn": [ "compile:types", "compile:jsonrpc" ] }, { "taskName": "compile:server", "type": "shell", "command": "npm run compile:server", "group": "build", "presentation": { "panel": "dedicated", "reveal": "never" }, "problemMatcher": [ "$tsc" ], "dependsOn": [ "compile:types", "compile:jsonrpc", "compile:protocol" ] }, { "taskName": "compile:client", "type": "shell", "command": "npm run compile:client", "group": "build", "presentation": { "panel": "dedicated", "reveal": "never" }, "problemMatcher": [ "$tsc" ], "dependsOn": [ "compile:types", "compile:jsonrpc", "compile:protocol" ] } ] }
Sorry, something went wrong.
dbaeumer
No branches or pull requests
is it possible to call a task from another task?
I am not currently looking for recursion but just sequencing 2 or 3 tasks under one task.
The text was updated successfully, but these errors were encountered: