How do we make dub more useful?

Chris Wright via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 16 14:46:01 PST 2017


On Mon, 16 Jan 2017 13:20:45 +0000, Mike Parker wrote:

> On Saturday, 14 January 2017 at 18:14:42 UTC, aberba wrote:
>> On Saturday, 14 January 2017 at 11:02:51 UTC, Joakim wrote:
>>> There were two recent posts by a new Rust user about how he's finding
>>> that language, that got a lot of attention on their reddit.  In the
>>> latter post, he mentions D as a competitor:
>>>
>>> [...]
>>
>> linking to local modules too. Is it supported yet?
> 
> Assuming by 'module' you mean 'package managed by DUB':
> 
> cd some_d_package_directory dub add-local . 0.0.1-beta.1

Unfortunately, I've noticed that this doesn't tend to handle package 
updates very well. If you're developing two packages side by side, expect 
to repeat `dub add-local .` and `dub-remove-local .` a lot, and to 
compile with `--force`.


More information about the Digitalmars-d mailing list