On Thu, 06 Mar 2014 00:19:01 +0000, Bruno Medeiros wrote:

On 05/03/2014 18:49, Jeroen Bollen wrote:

On Wed, 05 Mar 2014 15:56:36 +0000, Bruno Medeiros wrote:

On 05/03/2014 10:38, Stephan Dilly wrote:

On Tue, 04 Mar 2014 20:39:28 GMT, Jeroen Bollen wrote:

When building packages you are required to give a version for every dependency, but currently there is no way to specify a version for your package.

you define the version via github tags. but good question about the version of local packages...

What do you mean?
You can use the version attribute in dub.json if it's not under a git
repo to define the version of your package.

Bruno Medeiros
https://twitter.com/brunodomedeiros

The version attribute isn't defined anywhere, and it doesn't seem to work either.

It's not documented, that's true. It should.

It seems to be working for me, but not for sub-packages. I put a
"version" : "1.0.0"
on a sub-package, but dependency resolution fails, and 'dub list' lists
the sub-package version the same as the parent: "~master"

For top-level packages it seems to be working fine.

Bruno Medeiros
https://twitter.com/brunodomedeiros

That seems to be indeed the case.