Skip to content

Add input files to build rules - #1650

Open
GtechGovind wants to merge 3 commits into
yonaskolb:masterfrom
GtechGovind:fix/build-rule-input-files
Open

GtechGovind wants to merge 3 commits into
yonaskolb:masterfrom
GtechGovind:fix/build-rule-input-files

Conversation

@GtechGovind

Copy link
Copy Markdown

Summary

  • add inputFiles to the build-rule project specification
  • preserve omitted and explicitly empty input lists when generating PBX build rules
  • document the field and cover parsing, JSON round-tripping, and generated projects

Resolves #1427

Testing

  • swift test --enable-test-discovery --filter SpecLoadingTests.testProjectSpecParser
  • swift test --enable-test-discovery --filter ProjectSpecTests.testJSONEncodable
  • swift test --enable-test-discovery (77 tests, 0 failures, 6 project-defined Linux skips)

The generator assertion is included in ProjectGeneratorTests.testTargets; that test is skipped by the project on Linux and remains covered by macOS CI.

@GtechGovind
GtechGovind marked this pull request as ready for review September 16, 2026 19:37
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.

Support input files for build rules

1 participant