|
| 1 | +// dotnet new tool-manifest |
| 2 | +// dotnet tool install csharpier |
| 3 | +// dotnet tool install husky |
| 4 | +// dotnet husky install |
| 5 | +// dotnet husky add pre-commit -c "dotnet husky run" |
| 6 | +// winget install nektos.act |
| 7 | + |
| 8 | +// dotnet tool update --all |
| 9 | +// winget upgrade nektos.act |
| 10 | + |
| 11 | + |
1 | 12 | {
|
2 | 13 | "version": "2.0.0",
|
3 | 14 | "tasks": [
|
|
27 | 38 | }
|
28 | 39 | },
|
29 | 40 | {
|
30 |
| - "label": ".NET Install T4", |
| 41 | + "label": ".NET Format", |
31 | 42 | "type": "process",
|
32 | 43 | "command": "dotnet",
|
33 | 44 | "args": [
|
34 |
| - "tool", |
35 |
| - "install", |
36 |
| - "-g", |
37 |
| - "dotnet-t4" |
38 |
| - ], |
39 |
| - "problemMatcher": [], |
40 |
| - "presentation": { |
41 |
| - "showReuseMessage": false, |
42 |
| - "clear": false |
43 |
| - } |
44 |
| - }, |
45 |
| - { |
46 |
| - "label": "Updata iso-639-2 data", |
47 |
| - "type": "process", |
48 |
| - "command": "wget", |
49 |
| - "args": [ |
50 |
| - "-O", |
51 |
| - "${workspaceFolder}/Data/ISO-639-2_utf-8.txt", |
52 |
| - "https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt" |
53 |
| - ], |
54 |
| - "problemMatcher": [], |
55 |
| - "presentation": { |
56 |
| - "showReuseMessage": false, |
57 |
| - "clear": false |
58 |
| - } |
59 |
| - }, |
60 |
| - { |
61 |
| - "label": "Build iso-639-2 data", |
62 |
| - "type": "process", |
63 |
| - "command": "t4", |
64 |
| - "args": [ |
65 |
| - "-P=${workspaceFolder}/Utilities/bin/Release/net9.0/publish", |
66 |
| - "--out=${workspaceFolder}/Utilities/Iso6392Gen.cs", |
67 |
| - "${workspaceFolder}/Utilities/Iso6392Gen.tt" |
68 |
| - ], |
69 |
| - "dependsOn": [ |
70 |
| - "Updata iso-639-2 data" |
71 |
| - ], |
72 |
| - "dependsOrder": "sequence", |
73 |
| - "problemMatcher": [], |
74 |
| - "presentation": { |
75 |
| - "showReuseMessage": false, |
76 |
| - "clear": false |
77 |
| - } |
78 |
| - }, |
79 |
| - { |
80 |
| - "label": "Updata iso-639-3 data", |
81 |
| - "type": "process", |
82 |
| - "command": "wget", |
83 |
| - "args": [ |
84 |
| - "-O", |
85 |
| - "${workspaceFolder}/Data/iso-639-3.tab", |
86 |
| - "https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab" |
87 |
| - ], |
88 |
| - "problemMatcher": [], |
89 |
| - "presentation": { |
90 |
| - "showReuseMessage": false, |
91 |
| - "clear": false |
92 |
| - } |
93 |
| - }, |
94 |
| - { |
95 |
| - "label": "Build iso-639-3 data", |
96 |
| - "type": "process", |
97 |
| - "command": "t4", |
98 |
| - "args": [ |
99 |
| - "-P=${workspaceFolder}/Utilities/bin/Release/net9.0/publish", |
100 |
| - "--out=${workspaceFolder}/Utilities/Iso6393Gen.cs", |
101 |
| - "${workspaceFolder}/Utilities/Iso6393Gen.tt" |
102 |
| - ], |
103 |
| - "dependsOn": [ |
104 |
| - "Updata iso-639-3 data" |
| 45 | + "format", |
| 46 | + "--verify-no-changes", |
| 47 | + "--severity=info", |
| 48 | + "--verbosity=detailed" |
105 | 49 | ],
|
106 |
| - "dependsOrder": "sequence", |
107 |
| - "problemMatcher": [], |
108 |
| - "presentation": { |
109 |
| - "showReuseMessage": false, |
110 |
| - "clear": false |
111 |
| - } |
112 |
| - }, |
113 |
| - { |
114 |
| - "label": "Updata rfc-5646 data", |
115 |
| - "type": "process", |
116 |
| - "command": "wget", |
117 |
| - "args": [ |
118 |
| - "-O", |
119 |
| - "${workspaceFolder}/Data/language-subtag-registry", |
120 |
| - "https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry" |
| 50 | + "problemMatcher": [ |
| 51 | + "$msCompile" |
121 | 52 | ],
|
122 |
| - "problemMatcher": [], |
123 | 53 | "presentation": {
|
124 | 54 | "showReuseMessage": false,
|
125 | 55 | "clear": false
|
126 | 56 | }
|
127 | 57 | },
|
128 | 58 | {
|
129 |
| - "label": "Build rfc-5646 data", |
| 59 | + "label": "CSharpier Format", |
130 | 60 | "type": "process",
|
131 |
| - "command": "t4", |
| 61 | + "command": "dotnet", |
132 | 62 | "args": [
|
133 |
| - "-P=${workspaceFolder}/Utilities/bin/Release/net9.0/publish", |
134 |
| - "--out=${workspaceFolder}/Utilities/Rfc5646Gen.cs", |
135 |
| - "${workspaceFolder}/Utilities/Rfc5646Gen.tt" |
136 |
| - ], |
137 |
| - "dependsOn": [ |
138 |
| - "Updata rfc-5646 data" |
| 63 | + "csharpier", |
| 64 | + "format", |
| 65 | + "--log-level=debug", |
| 66 | + "." |
139 | 67 | ],
|
140 |
| - "dependsOrder": "sequence", |
141 |
| - "problemMatcher": [], |
142 |
| - "presentation": { |
143 |
| - "showReuseMessage": false, |
144 |
| - "clear": false |
145 |
| - } |
146 |
| - }, |
147 |
| - { |
148 |
| - "label": "Build language files", |
149 |
| - "dependsOn": [ |
150 |
| - ".NET Install T4", |
151 |
| - ".NET Publish", |
152 |
| - "Build iso-639-2 data", |
153 |
| - "Build iso-639-3 data", |
154 |
| - "Build rfc-5646 data", |
155 |
| - "CSharpier Format" |
| 68 | + "problemMatcher": [ |
| 69 | + "$msCompile" |
156 | 70 | ],
|
157 |
| - "dependsOrder": "sequence", |
158 |
| - "problemMatcher": [], |
159 | 71 | "presentation": {
|
160 | 72 | "showReuseMessage": false,
|
161 | 73 | "clear": false
|
162 | 74 | }
|
163 | 75 | },
|
164 | 76 | {
|
165 |
| - "label": ".NET Format", |
| 77 | + "label": ".Net Tool Update", |
166 | 78 | "type": "process",
|
167 | 79 | "command": "dotnet",
|
168 | 80 | "args": [
|
169 |
| - "format", |
170 |
| - "--verify-no-changes", |
171 |
| - "--severity=info", |
172 |
| - "--verbosity=detailed" |
| 81 | + "tool", |
| 82 | + "update", |
| 83 | + "--all" |
173 | 84 | ],
|
174 | 85 | "problemMatcher": [
|
175 | 86 | "$msCompile"
|
|
180 | 91 | }
|
181 | 92 | },
|
182 | 93 | {
|
183 |
| - "label": "CSharpier Format", |
| 94 | + "label": "Husky.Net Run", |
184 | 95 | "type": "process",
|
185 |
| - "command": "csharpier", |
| 96 | + "command": "dotnet", |
186 | 97 | "args": [
|
187 |
| - "format", |
188 |
| - "." |
| 98 | + "husky", |
| 99 | + "run" |
189 | 100 | ],
|
190 | 101 | "problemMatcher": [
|
191 | 102 | "$msCompile"
|
|
0 commit comments