<div dir="ltr"><div>Hi swift community,</div><div><br></div><div>The current SwiftPM supports very limited set of source directory layouts. </div><div><br></div><div>Below are some of the layouts, along with their current SwiftPM support, that I think should be supported. </div><div><br></div><pre style="color:rgb(0,0,0)">layout-1
├── Package.swift
└── Sources
└── ModuleA
├── Bar.swift
├── Foo.swift
└── Tests
└── ModuleATests.swift
</pre><pre style="color:rgb(0,0,0)"><b>Current Status:</b> Building - Tests Failing</pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)">layout-2
├── Foo.swift
├── Package.swift
└── Tests
└── FooTests.swift
<pre><b>Current Status: </b>Building - Tests Failing</pre></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)">layout-3
├── Package.swift
├── Sources
│ ├── Foo.swift
│ └── ModuleA
│ ├── Bar.swift
│ └── Tests
│ └── BarTests.swift
└── Tests
└── FooTests.swift
</pre><pre style="color:rgb(0,0,0)"><pre><b>Current Status: </b>Build Failing - Invalid Layout</pre><pre><br></pre></pre><pre style="color:rgb(0,0,0)">layout-4
├── Package.swift
├── Sources
│ ├── Foo.swift
│ ├── ModuleA
│ │ └── Bar.swift
│ └── Tests
│ └── FooTests.swift
└── Tests
└── ModuleA
└── BarTests.swift</pre><div><pre style="color:rgb(0,0,0)"><b>Current Status: </b>Build Failing - Invalid Layout</pre></div><div><br></div><div><br></div><div>Comments / thoughts?</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font face="courier new, monospace">Bhargav Gurlanka</font></div></div></div></div></div></div>
</div>