Thread overview
DUB 0.9.14/0.9.15 has been released
Jun 20, 2013
Sönke Ludwig
Jun 22, 2013
Sönke Ludwig
Bugfix release 0.9.16
Jun 29, 2013
Sönke Ludwig
Jul 01, 2013
MrSmith
Jul 01, 2013
Sönke Ludwig
Jul 01, 2013
MrSmith
Jul 02, 2013
Mike Parker
Re: DUB Bugfix release 0.9.16
Jul 01, 2013
Jordi Sayol
June 20, 2013
Major changes:

 - Added support for multiple packages per directory, which is needed
for certain project structures (e.g. Derelict) - See the "subPackages"
field [1]

 - Dependencies can be specified per configuration now and optional
dependencies are supported

 - The version number format is now truly handled according to semantic
versioning [2]

 - Added "dub describe" to output a build description for the selected
configuration/platform - useful for external build tools/IDEs

 - A DUBPATH environment variable and custom package search paths are
supported for more possible development work-flows

 - Package versions of local packages are now inferred using "git
describe" if possible

 - Added some example projects for different use cases

 - A number of smaller changes and bug fixes


Full change log:

  https://github.com/rejectedsoftware/dub/blob/master/CHANGELOG.md


Download:

  http://registry.vibed.org/download


[1]: http://registry.vibed.org/package-format#standard-fields [2]: http://semver.org/
June 22, 2013
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 "-property" switch has been disabled, considering that the
   general consensus of the property discussions was to allow dropping
   parenthesis on normal functions.

June 29, 2013
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.
July 01, 2013
Hello, is it possible to build package consisting of few subpackages using dub?
Or i need to build all subpackages manually?
July 01, 2013
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
July 01, 2013
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
July 01, 2013
I fixed the bug in your bug fix announcement :)

-Steve
July 01, 2013
On 29/06/13 12:28, Sönke Ludwig wrote:
> 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.
> 

dub v0.9.16 deb package released

http://d-apt.sourceforge.net/

-- 
Jordi Sayol

July 02, 2013
On Monday, 1 July 2013 at 17:10:19 UTC, Sönke Ludwig wrote:
>
> 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

And as it turns out, Derelict doesn't build when running 'dub build'. It works fine when used as a dependency in other projects, though. I'll post a bug report.