Closed
Description
Previous ID | SR-15935 |
Radar | rdar://problem/89693335 |
Original Reporter | @abertelrud |
Type | Bug |
Additional Detail from JIRA
Votes | 0 |
Component/s | Package Manager |
Labels | Bug |
Assignee | @abertelrud |
Priority | Medium |
md5: ff3606a8574b3b65ab897c084d6bb004
Issue Description:
In SwiftPM 5.6 and later, package plugin build tools can generate source files by defining build commands that have `.swift` source files as outputs. It is supposed to be possible to generate any of the kinds of output files that SwiftPM can handle, such as resources.
But specifying .strings files or .lproj directories as outputs does not seem to work in SwiftPM 5.6 — `swift` `build` emits a warning that it doesn't know what to do about that kind of file.
This bug report tracks making this work so that for example .strings files can be generated by built too plugins.