How do I create a package?

M alt.mcarter at gmail.com
Sat Mar 5 15:12:35 UTC 2022


On Wednesday, 2 March 2022 at 16:38:58 UTC, M wrote:
> There doesn't seem to be any docs on how to actually create 
> packages.

THE DOCS ARE INADEQUATE TO THE TASK.

dub app-path ..

dub build

It says "module bcm2835 is in file bcm2835.d' which cannot be 
read."


I want to make bcm2835.d common to a few projects. How do I do it?

Is there something I can add to dub.json to tell it where to look?

I tried to do

import ../bcm2835;

but that doesn't work either.

What am I supposed to do?


More information about the Digitalmars-d-learn mailing list