gdharness 1.2.31 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +7212 -6230
- package/build/godot/addons/gdharness_editor/bridge_client.gd +14 -0
- package/build/godot/addons/gdharness_editor/file_reads.gd +237 -0
- package/build/godot/addons/gdharness_editor/file_reads.gd.uid +1 -0
- package/build/godot/addons/gdharness_editor/plugin.gd +27 -0
- package/build/godot/addons/gdharness_editor/scene_file.gd +38 -1
- package/build/godot/addons/gdharness_editor/tool_executor.gd +1 -0
- package/build/godot/addons/gdharness_editor/tools/class_tools.gd +22 -0
- package/build/godot/addons/gdharness_editor/tools/filesystem_tools.gd +64 -1
- package/build/godot/addons/gdharness_editor/tools/resource_tools.gd +4 -41
- package/build/godot/addons/gdharness_editor/tools/scene_placing.gd +178 -0
- package/build/godot/addons/gdharness_editor/tools/scene_placing.gd.uid +1 -0
- package/build/godot/addons/gdharness_editor/tools/scene_tools.gd +54 -120
- package/build/godot/addons/gdharness_runtime/runtime_autoload.gd +39 -0
- package/build/godot/addons/gdharness_runtime/runtime_hover.gd +285 -0
- package/build/godot/addons/gdharness_runtime/runtime_hover.gd.uid +1 -0
- package/build/godot/addons/gdharness_runtime/runtime_input.gd +151 -106
- package/build/godot/addons/gdharness_runtime/runtime_mouse.gd +112 -0
- package/build/godot/addons/gdharness_runtime/runtime_mouse.gd.uid +1 -0
- package/build/godot/operations/file_reads.gd +237 -0
- package/build/godot/operations/gdscript_authoring.gd +136 -19
- package/build/godot/operations/godot_operations.gd +24 -0
- package/build/godot/operations/property_values.gd +767 -0
- package/build/godot/operations/rename_checks.gd +5 -2
- package/build/index.js +5437 -4469
- package/build/keeper.js +184 -71
- package/package.json +1 -1
|
@@ -67,14 +67,17 @@ static func _named(entries: Array[Dictionary], name: String) -> bool:
|
|
|
67
67
|
|
|
68
68
|
# Whether each script compiles in a fresh engine, which reads the class cache as it starts and so
|
|
69
69
|
# resolves every class the cache lists. The engine's reasons go to stderr and come back with the
|
|
70
|
-
# answer.
|
|
70
|
+
# answer. It names the scripts it checked rather than counting them, since a caller told one was
|
|
71
|
+
# checked could not say which.
|
|
71
72
|
func check_scripts(params: Dictionary) -> Dictionary:
|
|
72
73
|
var paths: Array = params.get("paths", [])
|
|
74
|
+
var checked: Array[String] = []
|
|
73
75
|
var failed: Array[String] = []
|
|
74
76
|
for value: Variant in paths:
|
|
75
77
|
var path: String = str(value)
|
|
78
|
+
checked.append(path)
|
|
76
79
|
var script: Script = ResourceLoader.load(path, "Script", ResourceLoader.CACHE_MODE_IGNORE)
|
|
77
80
|
if not GdscriptAuthoring._parses(script):
|
|
78
81
|
_log.error("Does not compile: " + path)
|
|
79
82
|
failed.append(path)
|
|
80
|
-
return {"checked":
|
|
83
|
+
return {"checked": checked, "failed": failed}
|