Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Optional dependency #11

@andre2007

Description

@andre2007

In the forum the question was raised, why dub is downloading unit-threaded, although it is marked optional in dshould.

https://forum.dlang.org/thread/cfzhlpynvtcvctsqxiwo@forum.dlang.org

This is actually caused by the fact, that unit-threaded is also a dependency in the unittest configuration. Here it isn't marked as optional.

Dub will download all mandatory dependencies from all configurations, independent which configuration is actually used.

Just want to make you aware of this behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions