UNPKG

3.87 kBJSONView Raw
1{
2 // See https://go.microsoft.com/fwlink/?LinkId=733558
3 // for the documentation about the tasks.json format
4 "version": "0.1.0",
5 "windows": {
6 "command": "powershell",
7 "options": {
8 "cwd": "${workspaceRoot}"
9 },
10 "tasks": [
11 {
12 "taskName": "build",
13 "suppressTaskName": true,
14 "args": ["-ExecutionPolicy", "RemoteSigned", ".\\dockerTask.ps1", "-Build", "-Environment", "debug" ],
15 "isBuildCommand": true,
16 "showOutput": "always",
17 "echoCommand": true
18 },
19 {
20 "taskName": "compose",
21 "suppressTaskName": true,
22 "args": ["-ExecutionPolicy", "RemoteSigned", ".\\dockerTask.ps1", "-Compose", "-Environment", "debug" ],
23 "isBuildCommand": false,
24 "showOutput": "always",
25 "echoCommand": true
26 },
27 {
28 "taskName": "composeForDebug",
29 "suppressTaskName": true,
30 "args": ["-ExecutionPolicy", "RemoteSigned", ".\\dockerTask.ps1", "-ComposeForDebug", "-Environment", "debug" ],
31 "isBuildCommand": false,
32 "showOutput": "always",
33 "echoCommand": true
34 }
35 ]
36 },
37 "osx": {
38 "command": "/bin/bash",
39 "options": {
40 "cwd": "${workspaceRoot}"
41 },
42 "tasks": [
43 {
44 "taskName": "build",
45 "command": "dotnet",
46 "args": [
47 "build",
48 "${workspaceRoot}/project.csproj"
49 ],
50 "isBuildCommand": true,
51 "problemMatcher": "$msCompile"
52 },
53 {
54 "taskName": "docker-build",
55 "suppressTaskName": true,
56 "args": [ "-c", "./dockerTask.sh build debug" ],
57 "isBuildCommand": true,
58 "showOutput": "always"
59 },
60 {
61 "taskName": "compose",
62 "suppressTaskName": true,
63 "args": [ "-c", "./dockerTask.sh compose debug" ],
64 "isBuildCommand": false,
65 "showOutput": "always"
66 },
67 {
68 "taskName": "composeForDebug",
69 "suppressTaskName": true,
70 "args": [ "-c", "./dockerTask.sh composeForDebug debug" ],
71 "isBuildCommand": false,
72 "showOutput": "always"
73 }
74 ]
75 },
76 "linux": {
77 "command": "/bin/bash",
78 "options": {
79 "cwd": "${workspaceRoot}"
80 },
81 "tasks": [
82 {
83 "taskName": "build",
84 "command": "dotnet",
85 "args": [
86 "build",
87 "${workspaceRoot}/project.json"
88 ],
89 "isBuildCommand": true,
90 "problemMatcher": "$msCompile"
91 },
92 {
93 "taskName": "docker-build",
94 "suppressTaskName": true,
95 "args": [ "-c", "./dockerTask.sh build debug" ],
96 "isBuildCommand": true,
97 "showOutput": "always"
98 },
99 {
100 "taskName": "compose",
101 "suppressTaskName": true,
102 "args": [ "-c", "./dockerTask.sh compose debug" ],
103 "isBuildCommand": false,
104 "showOutput": "always"
105 },
106 {
107 "taskName": "composeForDebug",
108 "suppressTaskName": true,
109 "args": [ "-c", "./dockerTask.sh composeForDebug debug" ],
110 "isBuildCommand": false,
111 "showOutput": "always"
112 }
113 ]
114 }
115}
\No newline at end of file