-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtasks.json
More file actions
65 lines (65 loc) · 1.55 KB
/
tasks.json
File metadata and controls
65 lines (65 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"tasks": {
"build": {
"label": "Build the project",
"type": "shell",
"command": "dotnet build --configuration Release"
},
"test": {
"label": "Run tests",
"type": "shell",
"command": "dotnet test",
"dependsOn": ["build"],
"allowConcurrent": true
},
"clean": {
"label": "Clean build artifacts",
"type": "shell",
"command": "dotnet clean"
},
"restore": {
"label": "Restore packages",
"type": "shell",
"command": "dotnet restore"
},
"hello": {
"label": "Hello World Example",
"type": "shell",
"command": "echo",
"args": ["Hello from rot!"]
},
"echo-env": {
"label": "Example with environment variables",
"type": "shell",
"command": "echo $MY_VAR",
"env": {
"MY_VAR": "custom value"
}
},
"custom-dir": {
"label": "Example with custom working directory",
"type": "shell",
"command": "pwd",
"cwd": "/tmp"
},
"silent-task": {
"label": "Task with no output echoing",
"type": "shell",
"command": "echo This will not be shown",
"echo": false
},
"process-example": {
"label": "Process type example",
"type": "process",
"command": "dotnet",
"args": ["--version"]
},
"parallel-example": {
"label": "Example of parallel task",
"type": "shell",
"command": "echo This task can run dependencies in parallel",
"dependsOn": ["build", "restore"],
"allowConcurrent": true
}
}
}