-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtasks.json
More file actions
57 lines (57 loc) · 1.19 KB
/
tasks.json
File metadata and controls
57 lines (57 loc) · 1.19 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
{
"version": "2.0.0",
"tasks": [
{
"label": "copy service config",
"type": "shell",
"command": "cp",
"args": [
"${workspaceFolder}/service/openem-ingestor-config.yaml",
"${workspaceFolder}/cmd/openem-ingestor-service/build/bin/"
]
},
{
"label": "build ingestor service",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/cmd/openem-ingestor-service"
},
"command": "go",
"args": [
"build",
"-tags",
"dev",
"-gcflags",
"all=-N -l",
"-o",
"build/bin/openem-ingestor-service"
]
},
{
"label": "go generate",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"command": "go",
"args": [
"generate",
"./internal/..."
]
},
{
"label": "build service",
"group": {
"kind": "build",
"isDefault": false
},
"dependsOrder": "sequence",
"dependsOn": [
"go generate",
"build ingestor service",
// Enable this to use local config during debugging
// "copy service config"
]
},
]
}