On Wed, 09 Sep 2015 06:49:34 GMT, Sönke Ludwig wrote:

On Tue, 25 Aug 2015 13:39:31 GMT, Edwin van Leeuwen wrote:

Hi,

Is there anyway to pipe/feed a string to dub instead of using the dub.json file?

The reason I am asking is because I'd like to use dub indirectly from another program and instead of saving the dub.json file to disk and then calling dub I'd rather (ideally) just pass the string directly into dub.

Cheers, Edwin

This is currently not possible. I've opened an enhancement request: #675

Implemented with pr https://github.com/dlang/dub/pull/1516

Kind regards
Andre