feat(plugin-godot): add "Export Godot project" action - #72
Open
Armaldio wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new Godot plugin with a single "Export Godot project" action that exports a Godot 4.x project for Windows, Linux, macOS or Web.
project.godot).export_presets.cfg; when none matches, it appends a generated one (Pipelab <Platform>, unique-name-suffixed).<userData>/thirdparty/godoton first use, reusing the shareddownloadFile/fileExists/runWithLiveLogshelpers (respectsabortSignal, logs vialog).godot --headless --export-release <preset> <output>in the project folder.output,parentFolder,folderfollowing the plugin-construct conventions..changeset/godot-plugin.md(@pipelab/app, minor). No manual version bump.Verification
pnpm test:unit: 13 files / 45 passed | 1 skippedgodot.spec.ts(21 tests) mocks the Godot CLI and covers preset discovery/generation, command building, download/extract, and output paths.godot-registration.spec.ts(2 tests) proves the plugin appears inregisterBuiltIn()andgetFinalPlugins().godot.integration.spec.tsruns a real export whenever a Godot 4.x binary is reachable; otherwise it skips with an explicit reason (tried$GODOT_BINandgodoton PATH).pnpm typecheck:node: 59 errors — the pre-existing baseline, none introduced.Honest note
A real Godot export could not be executed in this environment (no Godot binary reachable). The integration test will run for real wherever Godot 4.x + its export templates for 4.4.1 are installed (or
GODOT_BINis set).