Re: Bugfix release 0.9.16

2013-07-01 Thread Sönke Ludwig
Am 01.07.2013 11:43, schrieb MrSmith:
 Hello, is it possible to build package consisting of few subpackages
 using dub?
 Or i need to build all subpackages manually?

You should be able to do that by adding all sub-packages as dependencies
in the parent package and then building the parent package as a library.
Derelict is configured that way:
https://github.com/aldacron/Derelict3/blob/master/package.json


Re: Bugfix release 0.9.16

2013-07-01 Thread MrSmith

I have tried to build test project consisting of 2 libraries.
{
name: project,
description: An example project skeleton,
homepage: http://example.org;,
copyright: Copyright © 2000, Your Name,
targetType: library,
authors: [
Your Name
],
dependencies: {
project:lib1 : ~master,
project:lib2 : ~master
},
subPackages : [
{
name:lib1,
targetPath: lib,
targetType: library,
sourcePaths: [source/lib1],
targetName: app1
},
{
name:lib2,
targetPath: lib,
dependencies: {project:lib1: ~master},
targetType: library,
sourcePaths: [source/lib2],
targetName: app1
}
]
}

Here is error log
http://pastebin.com/MBhzeuwZ


Bugfix release 0.9.16

2013-06-29 Thread Sönke Ludwig
Am 22.06.2013 13:04, schrieb Sönke Ludwig:
 Two additional notes:
 
  - There is a known bug that causes multiple DUB invocations to be
required until all indirect dependencies are installed (watch out
for a There are still some actions to perform: message). The
current git master fixes that.
 

The fix is now contained in the latest release.