Skip to content

Add project example for subpackages #78

@vabenil

Description

@vabenil

The documentation for dub subpackages as the rest of the dub docs are lacking in examples.
Adding a repository with simple dub examples would massively help beginners getting into D and thereafter dub.

To be more specific my reason for opening this issue is because of the lack of mention of the file structure of a subpackage. In the dub subpackage documentation in this example:
2023-10-04_21:28:34
Does not include that the source directory for component1 or component2 should be ./component/source/component/ whereas a beginner might assume that the correct path should ./component/source/.

Had there been an example dub project where I could have seen the correct file structure I would not have wasted hours with this issue.

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