RejectedSoftware Forums

Sign up

Vibenews as dependency

Hey there!

Is it possible to have a dub package with a dependency to vibenews?

This is my dub.json:

{
	"name": "myProj",
	"description": "A minimal D application.",
	"copyright": "Copyright © 2015, Timoses",
	"authors": ["Timoses"],
	"dependencies": {
		"vibenews": ">=0.6.6"
	}
}

However, I'm getting a compile error:

/Library/D/dmd/src/phobos/std/range/primitives.d(335,9): Error: static assert "Cannot put a const(char) into a OutputStream."

Here's the full compile log:
http://pastebin.com/YRaXeYAw

Any ideas what the problem might be?

Bests,
Timoses

Re: Vibenews as dependency

Just found that this error also appears when I simply dub run the vibenews package that was automatically downloaded by dub. It's version 0.6.6 here.

However, the github version works splendidly..

Re: Vibenews as dependency

So how would I use the github version as a dependency?

Re: Vibenews as dependency

Solved:

Guess it's fixed in the github version but hasn't been forwarded to the dub package.

Issue: https://github.com/rejectedsoftware/vibenews/issues/30

Re: Vibenews as dependency

On Mon, 02 Nov 2015 02:51:51 GMT, Timoses wrote:

Solved:

Guess it's fixed in the github version but hasn't been forwarded to the dub package.

Issue: https://github.com/rejectedsoftware/vibenews/issues/30

I've created a new 0.6.7 tag now with the fix included.

Re: Vibenews as dependency

On Mon, 02 Nov 2015 11:07:43 GMT, Sönke Ludwig wrote:

I've created a new 0.6.7 tag now with the fix included.

Great : ) !