forked from specklesystems/speckle-sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json
128 lines (128 loc) · 3.12 KB
/
tasks.json
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
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"inputs": [
{
"id": "projectPath",
"type": "command",
"command": "extension.commandvariable.file.pickFile",
"args": {
"include": "**/*.{sln,slnf}",
"key": "projPath",
"keyRemember": "projPath",
"display": "fileName"
}
}
],
"tasks": [
{
"label": "speckle.format.csharpier",
"command": "dotnet",
"type": "shell",
"args": ["csharpier", "${input:projectPath}/.."],
"group": "build",
"problemMatcher": "$msCompile",
"hide": true,
"presentation": {
"focus": true,
"showReuseMessage": false
}
},
{
"label": "speckle.format.style",
"command": "dotnet",
"type": "shell",
"args": [
"format",
"style",
"${input:projectPath}",
"--exclude=Objects/Converters/StructuralUtilities/Triangle"
],
"group": "build",
"problemMatcher": "$msCompile",
"hide": true,
"presentation": {
"focus": true,
"showReuseMessage": false
}
},
{
"label": "speckle.format.whitespace",
"command": "dotnet",
"type": "shell",
"args": [
"format",
"whitespace",
"${input:projectPath}",
"--exclude=Objects/Converters/StructuralUtilities/Triangle"
],
"group": "build",
"problemMatcher": "$msCompile",
"hide": true,
"presentation": {
"focus": true,
"showReuseMessage": false
}
},
{
"label": "speckle.format.analyzers",
"command": "dotnet",
"type": "shell",
"args": [
"format",
"analyzers",
"${input:projectPath}",
"--exclude=Objects/Converters/StructuralUtilities/Triangle"
],
"group": "build",
"problemMatcher": "$msCompile",
"hide": false,
"presentation": {
"focus": true,
"showReuseMessage": false
}
},
{
"label": "speckle.format.resharper",
"command": "dotnet",
"type": "shell",
"args": [
"tool",
"run",
"jb",
"cleanupcode",
"${input:projectPath}",
"--profile=\"Speckle:Cleanup\"",
"--settings=\"All.sln.DotSettings\"",
"--exclude=Objects/Converters/StructuralUtilities/Triangle",
"--properties:WarningLevel=0"
],
"group": "build",
"problemMatcher": [],
"hide": false,
"presentation": {
"focus": true,
"showReuseMessage": false
}
},
{
"label": "Speckle: Format Code",
"dependsOn": ["speckle.format.style", "speckle.format.csharpier"],
"dependsOrder": "sequence",
"problemMatcher": []
},
{
"label": "Speckle: Cleanup Code",
"dependsOn": [
"speckle.format.whitespace",
"speckle.format.style",
"speckle.format.analyzers",
"speckle.format.resharper",
"speckle.format.csharpier"
],
"dependsOrder": "sequence",
"problemMatcher": []
}
]
}