<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I actually have reversed my opinion on this and have a proposal in the works called “No More Magic” which is the best of both worlds (IMO), ie. the benefits of convention based layouts with the power of configuration.<div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 9:51 AM, David Owens II via swift-build-dev &lt;<a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Source layout shouldn't matter at all. I *think* the eventual plan is for SwiftPM to allow you to specify source locations, though not 100%.<div class=""><br class=""></div><div class="">This issue is one of the big ones for why Drew and I wrote our own build tool (based on llbuild).</div><div class=""><br class=""></div><div class="">-David<br class=""><div class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 3, 2016, at 9:10 AM, bhargav gurlanka via swift-build-dev &lt;<a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi swift community,</div><div class=""><br class=""></div><div class="">The current SwiftPM supports very limited set of source directory layouts.&nbsp;</div><div class=""><br class=""></div><div class="">Below are some of the layouts, along with their current SwiftPM support, that I think should be supported.&nbsp;</div><div class=""><br class=""></div><pre style="" class="">layout-1
├── Package.swift
└── Sources
    └── ModuleA
        ├── Bar.swift
        ├── Foo.swift
        └── Tests
            └── ModuleATests.swift
</pre><pre style="" class=""><b class="">Current Status:</b> Building - Tests Failing</pre><pre style="" class=""><br class=""></pre><pre style="" class="">layout-2
├── Foo.swift
├── Package.swift
└── Tests
    └── FooTests.swift
<pre class=""><b class="">Current Status: </b>Building - Tests Failing</pre></pre><pre style="" class=""><br class=""></pre><pre style="" class="">layout-3
├── Package.swift
├── Sources
│&nbsp;&nbsp; ├── Foo.swift
│&nbsp;&nbsp; └── ModuleA
│&nbsp;&nbsp;     ├── Bar.swift
│&nbsp;&nbsp;     └── Tests
│&nbsp;&nbsp;         └── BarTests.swift
└── Tests
    └── FooTests.swift
</pre><pre style="" class=""><pre class=""><b class="">Current Status: </b>Build Failing - Invalid Layout</pre><pre class=""><br class=""></pre></pre><pre style="" class="">layout-4
├── Package.swift
├── Sources
│&nbsp;&nbsp; ├── Foo.swift
│&nbsp;&nbsp; ├── ModuleA
│&nbsp;&nbsp; │&nbsp;&nbsp; └── Bar.swift
│&nbsp;&nbsp; └── Tests
│&nbsp;&nbsp;     └── FooTests.swift
└── Tests
    └── ModuleA
        └── BarTests.swift</pre><div class=""><pre style="" class=""><b class="">Current Status: </b>Build Failing - Invalid Layout</pre></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Comments / thoughts?</div><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><font face="courier new, monospace" class="">Bhargav Gurlanka</font></div></div></div></div></div></div>
</div>
_______________________________________________<br class="">swift-build-dev mailing list<br class=""><a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-build-dev" class="">https://lists.swift.org/mailman/listinfo/swift-build-dev</a><br class=""></div></blockquote></div><br class=""></div></div></div></div>_______________________________________________<br class="">swift-build-dev mailing list<br class=""><a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-build-dev<br class=""></div></blockquote></div><br class=""></div></body></html>