new(SwiftGen): code generator for Swift project resources#13128
Open
tannevaled wants to merge 1 commit into
Open
new(SwiftGen): code generator for Swift project resources#13128tannevaled wants to merge 1 commit into
tannevaled wants to merge 1 commit into
Conversation
Replace the vendored prebuilt zip with a source build via Swift Package Manager. Installs both the swiftgen executable and its sibling SwiftGen_SwiftGenCLI.bundle (Stencil templates) so Bundle.module resolves at runtime. Darwin-only (pantry's swift.org is darwin-only). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
Replaces the vendored prebuilt zip for
github.com/SwiftGen/SwiftGenwith a source build via Swift Package Manager, in line with the no-vendoring rule.swift build --configuration release --disable-sandboxproduces both theswiftgenexecutable and the siblingSwiftGen_SwiftGenCLI.bundle(Stencil templates).bin/so SwiftPM'sBundle.moduleresolves at runtime (matches Homebrew'srake cli:installtask).swift.orgtoolchain is darwin-only).swift.org: '*'(Package.swift declares swift-tools-version 5.5; any pantry swift works).mac-cain13/R.swift.Test plan
swiftgen --versionreports the tagswiftgen template listsucceeds, proving the resource bundle is found at runtime