We could support this layout. Though it may make it easy to violate the principle of least surprise when moving sources around later in a project's life. So indeed. Should either error or be supported, not half work.
···
On Dec 4, 2015, at 5:51 PM, Daniel Dunbar <daniel_dunbar@apple.com> wrote:
This layout should actually just be an error. We currently expect a layout like
Sources/A/A.swift
Sources/B/B.swift
(two targets)
or
Sources/A.swift
Sources/B.swift
(one target)
If you are trying to create a single target with multiple source files in a directory hierarchy, you should move to
On Sat, Dec 5, 2015 at 2:09 AM, Max Howell <max.howell@apple.com> wrote:
We could support this layout. Though it may make it easy to violate the principle of least surprise when moving sources around later in a project's life. So indeed. Should either error or be supported, not half work.
On Dec 4, 2015, at 5:51 PM, Daniel Dunbar <daniel_dunbar@apple.com> wrote:
This layout should actually just be an error. We currently expect a layout like
Sources/A/A.swift
Sources/B/B.swift
(two targets)
or
Sources/A.swift
Sources/B.swift
(one target)
If you are trying to create a single target with multiple source files in a directory hierarchy, you should move to