-
Notifications
You must be signed in to change notification settings - Fork 6
/
linux_arm64_tools.ini
357 lines (307 loc) · 12.8 KB
/
linux_arm64_tools.ini
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
; ---------------------------------------------------------------------------------------------------------------------
; 配置文件填写说明:
; 填写过程中,如果有多个值,用英文分号分隔
; [env_path] - 环境变量路径定义,基于tools目录的相对路径,比如:PYLINT_HOME : puppy_tools_common/pylint-1.4.5
; [env_value] - 环境变量值定义,比如:GIT_SSL_NO_VERIFY : 1
; [tool_url] - 工具库地址定义,格式:工具名:url,比如 CHECKSTYLE : http://xxxxxx.git
; [common] - 公共环境配置,比如git环境变量等, 包含以下4个字段
; env_path - 需要的环境变量路径,填写[env_path]中的KEY值,比如 env_path : ANDROID_HOME;CHECKSTYLE_HOME
; - 也支持KEY=VALUE格式,KEY为环境变量名,VALUE为环境变量值(基于tools目录的相对路径),推荐使用已经定义的变量,比如:JAVA_HOME=${env_path:JDK_8_HOME}
; env_value - 需要的环境变量值,填写[env_value]中的KEY值,比如 env_value : GIT_SSL_NO_VERIFY
; path - 需要加到path环境变量中的路径,基于tools目录的相对路径,推荐使用变量格式,比如 path : ${env_path:PYLINT_HOME}/bin
; tool_url - 需要拉取的工具库,多个地址用英文分号分隔,推荐使用变量格式,比如 tool_url : ${tool_url:PYLINT}
; [工具名] - 各工具配置,工具名需要与tool目录下的模块名匹配,字段格式参考[common]
; ---------------------------------------------------------------------------------------------------------------------
[base_value]
git_url=https://github.com/TCATools
;------------------
; 1.环境变量路径定义
;------------------
[env_path]
ANDROID_SDK_TOOL: linux-android-sdk-tools
CHECKSTYLE_HOME : checkstyle
CLOC_HOME : cloc
CPPCHECK_HOME : linux-arm64-cppcheck-1.78
CPPCHECK2_HOME : linux-arm64-cppcheck-2.6
FINDBUGS_HOME : findbugs
SPOTBUGS_HOME : spotbugs
CPPLINT_HOME : common-cpplint-1.4.5
COBRA_HOME : common-cobra-v2.0.0-alpha.5
DETEKT_171_HOME : common-detekt-cli-1.7.1-all
LIZARD_HOME : common-lizard-1.17.5
PMD_HOME : common-pmd-bin-5.8.1
CPD_HOME : common-pmd-bin-6.19.0
DART_CCN_HOME : common-dart-code-metrics-1.7.1
SCALASTYLE_HOME : common-scalastyle-1.0.0
GOROOT : linux-arm64-go-1.12.6
GOPATH : linux-arm64-go-1.12.6/go
GO_HOME : linux-arm64-go-1.12.6
GOMETALINTER_HOME : linux-arm64-gometalinter-v2.0.12
GOLANGCILINT_HOME : linux-arm64-golangci-lint-1.44
NODE_HOME : linux-arm64-node-v12.16.3
NODE_PATH : linux-arm64-node-v12.16.3/lib/node_modules
LUA_HOME : arm64-lua-5.3.4
LUACHECK_HOME : linux-luacheck-0.21.2
PYTHON_HOME : linux-arm64-Python-v3.7.0
PYTHON37_HOME : linux-arm64-Python-v3.7.0
PYTHON27_HOME : linux-arm64-Python-v2.7.5
DART_HOME : linux-arm64-dart-sdk-v2.7.2
SCC_HOME : linux-arm64-scc
MONO_HOME : arm64-mono-6.10.0.104
INFER_HOME : linux-infer-v0.15.0
SWIFTLINT_HOME : linux-swiftlint
STYLECOP_HOME : win-stylecopcli-1.4.0.0
JAVA_HOME : linux-arm64-TencentKona8.0.8_jdk1.8.0_312
JDK_8_HOME : linux-arm64-TencentKona8.0.8_jdk1.8.0_312
GIT_LFS : linux-arm64-git-lfs-v3.1.2
ZIP_HOME : linux-arm64-p7zip_16.02/bin
DEPENDENCY_CHECK_HOME : tca_plugin_dependency_check
; ZEUS_HOME : Zeus
; HADES_HOME : Hades
;------------------
; 2.环境变量值定义
;------------------
[env_value]
GIT_SSL_NO_VERIFY : 1
JAVA_OPTIONS : -Xms32m -Xmx6512m
;------------------
; 3.工具git库定义
;------------------
[tool_url]
CLOC : ${base_value:git_url}/cloc.git
ANDROID_TOOL: ${base_value:git_url}/linux-android-sdk-tools.git
COBRA : ${base_value:git_url}/common-cobra-v2.0.0-alpha.5.git
PMD : ${base_value:git_url}/common-pmd-bin-5.8.1.git
CPD : ${base_value:git_url}/common-pmd-bin-6.19.0.git
CPPLINT : ${base_value:git_url}/common-cpplint-1.4.5.git
DETEKT_1_7_1: ${base_value:git_url}/common-detekt-cli-1.7.1-all.git
LIZARD : ${base_value:git_url}/common-lizard-1.17.5.git
DART_CCN : ${base_value:git_url}/common-dart-code-metrics-1.7.1.git
SCALASTYLE : ${base_value:git_url}/common-scalastyle-1.0.0.git
GO : ${base_value:git_url}/linux-arm64-go-1.12.6.git
GOMETALINTER: ${base_value:git_url}/linux-arm64-gometalinter-v2.0.12.git
GOLANGCILINT: ${base_value:git_url}/linux-arm64-golangci-lint-1.44.git
NODE : ${base_value:git_url}/linux-arm64-node-v12.16.3.git
JDK_8 : ${base_value:git_url}/linux-arm64-TencentKona8.0.8_jdk1.8.0_312.git
LUACHECK : ${base_value:git_url}/linux-luacheck-0.21.2.git
LUA_5_3_4 : ${base_value:git_url}/arm64-lua-5.3.4.git
PYTHON27 : ${base_value:git_url}/linux-arm64-Python-v2.7.5.git
PYTHON37 : ${base_value:git_url}/linux-arm64-Python-v3.7.0.git
DART_SDK : ${base_value:git_url}/linux-arm64-dart-sdk-v2.7.2.git
SCC : ${base_value:git_url}/linux-arm64-scc.git
MONO : ${base_value:git_url}/arm64-mono-6.10.0.104.git
INFER : ${base_value:git_url}/linux-infer-v0.15.0.git
SWIFTLINT : ${base_value:git_url}/linux-swiftlint.git
STYLECOP : ${base_value:git_url}/win-stylecopcli-1.4.0.0.git
CHECKSTYLE : ${base_value:git_url}/checkstyle.git
FINDBUGS : ${base_value:git_url}/findbugs.git
SPOTBUGS : ${base_value:git_url}/spotbugs.git
CPPCHECK : ${base_value:git_url}/linux-arm64-cppcheck-1.78.git
CPPCHECK2 : ${base_value:git_url}/linux-arm64-cppcheck-2.6.git
GIT_LFS : ${base_value:git_url}/linux-arm64-git-lfs-v3.1.2.git
ZIP_HOME : ${base_value:git_url}/linux-arm64-p7zip_16.02.git
FLAWFINDER : ${base_value:git_url}/flawfinder.git
SEMGREP : ${base_value:git_url}/custom-semgrep.git
SHELLCHECK : ${base_value:git_url}/shellcheck.git
DEPENDENCY_CHECK : ${base_value:git_url}/tca_plugin_dependency_check/releases/download/v20230912.1/tca_plugin_dependency_check.zip
;------------------
; 4.公共环境配置
;------------------
[common]
env_path : SCC_HOME;ZIP_HOME
env_value : GIT_SSL_NO_VERIFY
path : ${env_path:GIT_LFS}
tool_url : ${tool_url:SCC};${tool_url:GIT_LFS};${tool_url:ZIP_HOME}
;------------------
; 5.各个工具配置
;------------------
[androidlint]
env_path : ANDROID_SDK_TOOL;JDK_8_HOME
env_value :
path : ${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:ANDROID_TOOL};${tool_url:JDK_8}
[checkstyle]
env_path : CHECKSTYLE_HOME;JDK_8_HOME
env_value :
path : ${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:CHECKSTYLE};${tool_url:JDK_8}
[cobra]
env_path : COBRA_HOME;PYTHON37_HOME
env_value :
path :
tool_url : ${tool_url:COBRA};${tool_url:PYTHON37}
[codecount]
env_path : CLOC_HOME
env_value :
path : ${env_path:CLOC_HOME}
tool_url : ${tool_url:CLOC}
[cpd]
env_path : CPD_HOME;JDK_8_HOME;CLOC_HOME
env_value :
path : ${env_path:CPD_HOME}/bin;${env_path:JDK_8_HOME}/bin;${env_path:CLOC_HOME}
tool_url : ${tool_url:CPD};${tool_url:JDK_8};${tool_url:CLOC}
[cppcheck]
env_path : CPPCHECK_HOME
env_value :
path : ${env_path:CPPCHECK_HOME}
tool_url : ${tool_url:CPPCHECK}
[cppcheck2]
env_path : CPPCHECK2_HOME;PYTHON37_HOME
env_value :
path : ${env_path:CPPCHECK2_HOME};${env_path:PYTHON37_HOME}/bin
tool_url : ${tool_url:CPPCHECK2};${tool_url:PYTHON37}
[cpplint]
env_path : CPPLINT_HOME
env_value :
path : ${env_path:CPPLINT_HOME}/bin;${env_path:PYTHON_HOME}/bin
tool_url : ${tool_url:CPPLINT}
[detekt]
env_path : DETEKT_171_HOME;;JDK_8_HOME
env_value :
path : ${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:DETEKT_1_7_1};${tool_url:JDK_8}
[eslint]
env_path : NODE_HOME;NODE_PATH
env_value :
path : ${env_path:NODE_HOME};${env_path:NODE_HOME}/bin
tool_url : ${tool_url:NODE}
[eslint_vue]
env_path : NODE_HOME;NODE_PATH
env_value :
path : ${env_path:NODE_HOME};${env_path:NODE_HOME}/bin
tool_url : ${tool_url:NODE}
[eslint_typescript]
env_path : NODE_HOME;NODE_PATH
env_value :
path : ${env_path:NODE_HOME};${env_path:NODE_HOME}/bin
tool_url : ${tool_url:NODE}
[gometalinter]
env_path : GOMETALINTER_HOME;GO_HOME
env_value :
path : ${env_path:GOMETALINTER_HOME}
tool_url : ${tool_url:GOMETALINTER};${tool_url:GO}
[htmlcs]
env_path : NODE_HOME;NODE_PATH
env_value :
path : ${env_path:NODE_HOME};${env_path:NODE_HOME}/bin
tool_url : ${tool_url:NODE}
[lizard]
env_path : LIZARD_HOME;PYTHON37_HOME;DETEKT_171_HOME;DART_HOME;DART_CCN_HOME;JDK_8_HOME
env_value :
path : ${env_path:LIZARD_HOME};${env_path:PYTHON37_HOME}/bin;${env_path:JDK_8_HOME}/bin;${env_path:DART_HOME}/bin;${env_path:DART_CCN_HOME}/bin
tool_url : ${tool_url:LIZARD};${tool_url:PYTHON37};${tool_url:DETEKT_1_7_1};${tool_url:JDK_8};${tool_url:DART_SDK};${tool_url:DART_CCN}
[luacheck]
env_path : LUACHECK_HOME;LUA_HOME
env_value :
path : ${env_path:LUACHECK_HOME}/bin;${env_path:LUA_HOME}/bin
tool_url : ${tool_url:LUACHECK};${tool_url:LUA_5_3_4}
[pmd]
env_path : PMD_HOME;JDK_8_HOME
env_value :
path : ${env_path:PMD_HOME}/bin;${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:PMD};${tool_url:JDK_8}
[pylint]
env_path :
env_value :
path :
tool_url :
[flake8]
env_path : PYTHON27_HOME;PYTHON37_HOME
env_value :
path :
tool_url : ${tool_url:PYTHON27};${tool_url:PYTHON37}
[customscan]
env_path : PYTHON27_HOME;PYTHON37_HOME;LIZARD_HOME;DETEKT_171_HOME;DART_HOME;DART_CCN_HOME;JDK_8_HOME;NODE_HOME
env_value :
path : ${env_path:JDK_8_HOME}/bin;${env_path:DART_HOME}/bin;${env_path:DART_CCN_HOME}/bin;${env_path:NODE_HOME}/bin
tool_url : ${tool_url:PYTHON27};${tool_url:PYTHON37};${tool_url:LIZARD};${tool_url:DETEKT_1_7_1};${tool_url:JDK_8};${tool_url:DART_SDK};${tool_url:DART_CCN};${tool_url:NODE}
[FunctionTooLong]
env_path : PYTHON37_HOME;LIZARD_HOME;DETEKT_171_HOME;DART_HOME;DART_CCN_HOME;NODE_HOME
env_value :
path : ${env_path:DART_HOME}/bin;${env_path:DART_CCN_HOME}/bin;${env_path:NODE_HOME}/bin
tool_url : ${tool_url:PYTHON37};${tool_url:LIZARD};${tool_url:DETEKT_1_7_1};${tool_url:DART_SDK};${tool_url:DART_CCN};${tool_url:NODE}
[customtool]
env_path : PYTHON27_HOME;PYTHON37_HOME;LIZARD_HOME;DETEKT_171_HOME;DART_HOME;DART_CCN_HOME;JDK_8_HOME;NODE_HOME
env_value :
path : ${env_path:JDK_8_HOME}/bin;${env_path:DART_HOME}/bin;${env_path:DART_CCN_HOME}/bin;${env_path:NODE_HOME}/bin
tool_url : ${tool_url:PYTHON27};${tool_url:PYTHON37};${tool_url:LIZARD};${tool_url:DETEKT_1_7_1};${tool_url:JDK_8};${tool_url:DART_SDK};${tool_url:DART_CCN};${tool_url:NODE}
[stylelint]
env_path : NODE_HOME;NODE_PATH
env_value :
path : ${env_path:NODE_HOME};${env_path:NODE_HOME}/bin
tool_url : ${tool_url:NODE}
[stylecop]
env_path : STYLECOP_HOME;MONO_HOME
env_value :
path : ${env_path:STYLECOP_HOME};${env_path:MONO_HOME}/bin
tool_url : ${tool_url:STYLECOP};${tool_url:MONO}
[dartanalyzer]
env_path : DART_HOME
env_value :
path : ${env_path:DART_HOME}/bin
tool_url : ${tool_url:DART_SDK}
[findbugs]
env_path : FINDBUGS_HOME;JDK_8_HOME
env_value :
path : ${env_path:FINDBUGS_HOME}/bin;${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:FINDBUGS};${tool_url:JDK_8}
[spotbugs]
env_path : SPOTBUGS_HOME;JDK_8_HOME
env_value :
path : ${env_path:SPOTBUGS_HOME}/bin;${env_path:JDK_8_HOME}/bin
tool_url : ${tool_url:SPOTBUGS};${tool_url:JDK_8}
[scalastyle]
env_path : SCALASTYLE_HOME;JDK_8_HOME
env_value :
path : ${env_path:SCALASTYLE_HOME}
tool_url : ${tool_url:SCALASTYLE};${tool_url:JDK_8}
[infer_cpp]
env_path : INFER_HOME
env_value :
path : ${env_path:INFER_HOME}/bin
tool_url : ${tool_url:INFER}
[infer_java]
env_path : INFER_HOME
env_value :
path : ${env_path:INFER_HOME}/bin
tool_url : ${tool_url:INFER}
[infer_objectivec]
env_path : INFER_HOME
env_value :
path : ${env_path:INFER_HOME}/bin
tool_url : ${tool_url:INFER}
[swiftlint]
env_path : SWIFTLINT_HOME
env_value :
path : ${env_path:SWIFTLINT_HOME}
tool_url : ${tool_url:SWIFTLINT}
; [tca_ql_php]
; env_path : ZEUS_HOME;HADES_HOME
; env_value :
; path : ${env_path:ZEUS_HOME};${env_path:HADES_HOME}
; tool_url :
[flawfinder]
env_path : PYTHON37_HOME;PYTHON27_HOME
env_value :
path : ${env_path:PYTHON37_HOME}/bin;${env_path:PYTHON27_HOME}/bin
tool_url : ${tool_url:PYTHON37};${tool_url:PYTHON27};${tool_url:FLAWFINDER}
[semgrep]
env_path : PYTHON37_HOME
env_value :
path : ${env_path:PYTHON37_HOME}/bin
tool_url : ${tool_url:PYTHON37};${tool_url:SEMGREP}
[shellcheck]
env_path : PYTHON37_HOME
env_value :
path : ${env_path:PYTHON37_HOME}/bin
tool_url : ${tool_url:PYTHON37};${tool_url:SHELLCHECK}
[tca_plugin_dependency_check]
env_path : PYTHON37_HOME;JAVA_HOME;JDK_8_HOME;GOROOT;GO_HOME;GOPATH;NODE_HOME;NODE_PATH
env_value :
path : ${env_path:PYTHON37_HOME}/bin;${env_path:JAVA_HOME}/bin;${env_path:GO_HOME}/bin;${env_path:NODE_HOME}/bin
tool_url : ${tool_url:DEPENDENCY_CHECK};${tool_url:PYTHON37};${tool_url:JDK_8};${tool_url:GO};${tool_url:NODE}
[golangcilint]
env_path : GOLANGCILINT_HOME;GO_HOME
env_value :
path : ${env_path:GOLANGCILINT_HOME}
tool_url : ${tool_url:GOLANGCILINT};${tool_url:GO}