Skip to content

Instantly share code, notes, and snippets.

@AndrienkoAleksandr
Created September 14, 2018 13:59
Show Gist options
  • Save AndrienkoAleksandr/fe02f77f8be80f7c68ed2c8f8bff7200 to your computer and use it in GitHub Desktop.
Save AndrienkoAleksandr/fe02f77f8be80f7c68ed2c8f8bff7200 to your computer and use it in GitHub Desktop.
{
// Some sample Theia tasks
"tasks": [
{
"label": "[Task] short running test task (~3s)",
"type": "shell",
"cwd": "${workspaceFolder}/packages/task/src/node/test-resources/",
"command": "./task",
"args": [
"1",
"2",
"3"
],
"windows": {
"command": "cmd.exe",
"args": [
"/c",
"task.bat",
"abc"
]
}
},
{
"label": "[Task] long running test task (~300s)",
"type": "shell",
"cwd": "${workspaceFolder}/packages/task/src/node/test-resources/",
"command": "./task-long-running",
"args": [],
"windows": {
"command": "cmd.exe",
"args": [
"/c",
"task-long-running.bat"
]
}
},
{
"label": "[Task] recursively list files from workspace root",
"type": "shell",
"cwd": "${workspaceFolder}",
"command": "ls",
"args": [
"-alR"
],
"windows": {
"command": "cmd.exe",
"args": [
"/c",
"dir",
"/s"
]
}
},
{
"label": "che",
"type": "che",
"command": "echo hello"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment