工程(工程小件批·件1): run_all.gd --only 逗号形态解析修复——解析段补 split(",") 拆分对齐头注契约<词[,词…]>,此前整串当一个词对套件路径子串匹配,闸脚本关联档空格转逗号拼接单旗标传参多词必零命中 quit(2)(6caf56b5 起缺陷,迭代42施工曾以逐词重复传参绕过);孤立验证=逗号拼接四词形态实跑四套件全绿 filtered
This commit is contained in:
1 parent
14054d9dfb
commit
d32ff34256
1 file changed
+4
-3
@@ -66,9 +66,10 @@ func _init() -> void:
|
||||
for a in OS.get_cmdline_user_args():
|
||||
if a.begins_with("--only="):
|
||||
has_only = true
|
||||
var term := a.trim_prefix("--only=").strip_edges()
|
||||
if term != "":
|
||||
only_terms.append(term)
|
||||
for part in a.trim_prefix("--only=").split(","):
|
||||
var term := part.strip_edges()
|
||||
if term != "":
|
||||
only_terms.append(term)
|
||||
elif a == "--only-source=gates":
|
||||
only_from_gates = true
|
||||
elif a.begins_with("--shard="):
|
||||
|
||||
Reference in new issue
Block a user