-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json.template
93 lines (93 loc) · 2.37 KB
/
tasks.json.template
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// this is to compile the binaries
// put this in project .vscode folder, remove the .template extension
// remove these lines -- excute with ctrl+shift+B
{
"version": "2.0.0",
"tasks": [
{
"label": "build-linux",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"bin/prismAId_linux_amd64",
"./cmd/main.go"
],
"env": {
"GOOS": "linux",
"GOARCH": "amd64"
},
"group": "build",
"problemMatcher": []
},
{
"label": "build-linux-arm",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"bin/prismAId_linux_arm64",
"./cmd/main.go"
],
"env": {
"GOOS": "linux",
"GOARCH": "arm64"
},
"group": "build",
"problemMatcher": []
},
{
"label": "build-windows",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"bin/prismAId_windows_amd64.exe",
"./cmd/main.go"
],
"env": {
"GOOS": "windows",
"GOARCH": "amd64"
},
"group": "build",
"problemMatcher": []
},
{
"label": "build-mac",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"bin/prismAId_darwin_amd64",
"./cmd/main.go"
],
"env": {
"GOOS": "darwin",
"GOARCH": "amd64"
},
"group": "build",
"problemMatcher": []
},
{
"label": "build-mac-arm",
"type": "shell",
"command": "go",
"args": [
"build",
"-o",
"bin/prismAId_darwin_arm64",
"./cmd/main.go"
],
"env": {
"GOOS": "darwin",
"GOARCH": "arm64"
},
"group": "build",
"problemMatcher": []
}
]
}