On Thu, 17 Oct 2013 21:22:30 GMT, Jason Spashett wrote:
On Thu, 17 Oct 2013 08:08:21 GMT, Sönke Ludwig wrote:
On Thu, 17 Oct 2013 05:40:46 GMT, Sönke Ludwig wrote:
The following should work in theory, but there is currently no way to select a sub package for building. I'll try to get that added later today:
{ "name": "mc4k", "targetType": "none", "dependencies": { "derelict": "~master" }, "subPackages": [ { "name": "a", "targetType": "executable", "excludedSourceFiles": ["source/mc4kb.d"] }, { "name": "b", "targetType": "executable", "excludedSourceFiles": ["source/mc4ka.d"] } ] }
With DUB master you can now do
dub build mc4k:a
anddub build mc4k:b
to build the individual sub packages.Implemented by https://github.com/rejectedsoftware/dub/commit/e152d71c8133e79af068a5a7281d29bcd5484b1f.
Thanks. That was quick. I will take a look at this now. I am not very familiar with dub yet.
That works, thanks. typing dub build yeilds;
Error: Main package has target type "none" - stopping build.
is there any syntax to build both at the same time?