Re: How do I create a package?

2022-03-05 Thread Anonymouse via Digitalmars-d-learn
On Saturday, 5 March 2022 at 15:30:19 UTC, M wrote: On Saturday, 5 March 2022 at 15:12:35 UTC, M wrote: THE DOCS ARE INADEQUATE TO THE TASK. I've created a directory bcm2835. Then within source/bcm2835 I have bcm2835.d. I run dub build, and file called libbcm2835.a gets built. I type

Re: How do I create a package?

2022-03-05 Thread Steven Schveighoffer via Digitalmars-d-learn
On 3/5/22 10:30 AM, M wrote: On Saturday, 5 March 2022 at 15:12:35 UTC, M wrote: THE DOCS ARE INADEQUATE TO THE TASK. I've created a directory bcm2835. Then within source/bcm2835 I have bcm2835.d. I run dub build, and file called libbcm2835.a gets built. I type     dub list and  it

Re: How do I create a package?

2022-03-05 Thread M via Digitalmars-d-learn
On Saturday, 5 March 2022 at 15:12:35 UTC, M wrote: THE DOCS ARE INADEQUATE TO THE TASK. I've created a directory bcm2835. Then within source/bcm2835 I have bcm2835.d. I run dub build, and file called libbcm2835.a gets built. I type dub list and it reports Packages present

Re: How do I create a package?

2022-03-05 Thread M via Digitalmars-d-learn
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

Re: How do I create a package?

2022-03-02 Thread Mike Parker via Digitalmars-d-learn
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. Is there a description anywhere? In case you're talking about a language-level package and not a dub package, just create a directory in your source tree with the name

Re: How do I create a package?

2022-03-02 Thread Anonymouse via Digitalmars-d-learn
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. Is there a description anywhere? https://dub.pm/getting_started.html is it, I think. It should get you started on creating a package, and then you have

How do I create a package?

2022-03-02 Thread M via Digitalmars-d-learn
There doesn't seem to be any docs on how to actually create packages. Is there a description anywhere?