Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[funexpected] add DependencyCollectorEditorPlugin #68

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jkb0o
Copy link
Collaborator

@jkb0o jkb0o commented Jun 10, 2022

Плагин позволяет собирать все зависимости проекта и дампать их в отдельный json файл:

fnx engine select godot.a1e2c5b3
fnx engine invoke -e --headless --collect-dependencies res://../deps.json

Формат json: массив file-entry, где каждый entry - массив строк. Первая строка - путь к файлу, остальные - зависимости:

[[
  "res://ui/onboarding/minigames/geobaord.tscn",
  "res://ui/onboarding/minigames/geoboard.gd",
  "res://ui/onboarding/minigames/board.gd",
  "res://egypt/geoboard/logic/level.tscn"
],[
  "res://ui/onboarding/minigames/geoboard.gd",
  "res://egypt/geoboard/logic/level.gd"
],[
  "res://ui/onboarding/minigames/monkey.gd",
  "res://japan/monkey/logic/bush.tscn",
  "res://japan/monkey/logic/bush.gd",
  "res://japan/monkey/config.gd",
  "res://japan/monkey/logic/textures.gd",
  "res://audio/japan/monkey_eating.ogg",
  "res://audio/japan/monkey_happy.ogg",
  "res://audio/japan/japan_monkey_happy_smile.ogg",
  "res://audio/japan/monkey_itches.ogg"
]]

@sergey-bychenko
Copy link
Contributor

Сори, задам максимально тупой вопрос. Где используется этот json файл?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants