You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow sources anywhere in ./Sources when only one target is present
After getting some feedback about the added `path` argument for executable
packages generated with `swift package init` (swiftlang#6144), this change allows a
target's sources to occupy the entire sources directory when there is only one
target in the package. All package types can benefit from this.
When there is more than one target in a package, the existing requirements for
target sources still apply.
This change should be compatible with existing layouts as well. If there is
only a single target in a package, then sources can of course continue to exist
in `./Sources/<target>`.
Amend the `executable` template's generated manifest to not include the `path`
argument anymore.
rdar://106829666
0 commit comments