forked from tlien/ReshapeBackend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReshapeBackend.code-workspace
133 lines (133 loc) · 3.51 KB
/
ReshapeBackend.code-workspace
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"folders": [
{
"path": "."
}
],
"settings": {
"editor.tabSize": 4,
"editor.formatOnSave": true,
"csharp.format.enable": true,
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"DEV"
],
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"**/bin/": true,
"**/obj/": true,
"**/Properties/": true,
"**/.vs/": true
}
},
"extensions": {
"recommendations": [
"ms-dotnettools.csharp",
"k--kato.docomment",
"ms-azuretools.vscode-docker",
"Gruntfuggly.todo-tree"
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Docker-compose up",
"type": "shell",
"command": "docker-compose up",
"presentation": {
"panel": "dedicated",
"showReuseMessage": true,
"clear": false,
"group": "dockerCompose"
},
"problemMatcher": []
},
{
"label": "rebuild and re-up",
"type": "shell",
"command": "docker-compose up --build --no-deps -d ${input:serviceName}",
"presentation": {
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"group": "dockerCompose"
},
"problemMatcher": []
},
{
"label": "rebuild all apps",
"type": "shell",
"command": "docker-compose build --parallel",
"presentation": {
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"group": "dockerCompose"
},
"problemMatcher": []
},
{
"label": "add migration (IntegrationsDb)",
"type": "shell",
"command": "dotnet ef migrations add ${input:migrationName} -p .\\src\\Common\\Common.csproj --context IntegrationEventLogContext -o .\\EventBus\\Migrations",
"presentation": {
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"group": "migrations"
},
"problemMatcher": []
},
{
"label": "add migration (AccountDb)",
"type": "shell",
"command": "dotnet ef migrations add ${input:migrationName} -p .\\src\\AccountService\\AccountService.csproj --context AccountContext -o .\\API\\Infrastructure\\Migrations",
"presentation": {
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"group": "migrations"
},
"problemMatcher": []
},
{
"label": "add migration (BusinessDb)",
"type": "shell",
"command": "dotnet ef migrations add ${input:migrationName} -p .\\src\\BusinessManagementService\\BusinessManagementService.csproj --context BusinessManagementContext -o .\\API\\Infrastructure\\Migrations",
"presentation": {
"panel": "shared",
"showReuseMessage": true,
"clear": false,
"group": "migrations"
},
"problemMatcher": []
}
],
"inputs": [
{
"id": "migrationName",
"type": "promptString",
"description": "Type desired name of migration"
},
{
"id": "serviceName",
"type": "pickString",
"description": "Pick service to rebuild and re-up (default = all)",
"default": "",
"options": [
"bm.api",
"acc.api",
"apigw",
"identity.svc",
""
]
}
]
}
}