Dub says that my programme is a libruary
Tannesover
jimmdox at proton.me
Thu Oct 8 03:22:08 UTC 2026
On Sunday, 9 August 2026 at 13:16:35 UTC, Darren Drapkin wrote:
> I am working on a programme, the latest version of which, dub
> now says is a libruary, when previous versions are not.
>
> What can I do to stop dub asserting that my programme is a
> libruary and compile it normally?
> -- https://slopegame-2.io
> Yours &c
> Darren Drapkin
If you haven't set targetType explicitly, DUB defaults to a
library when it can't find a file containing main() in expected
paths like source/app.d. Checking if your main entry point file
was renamed or moved out of the main source folder should fix it
without manually editing configuration.
More information about the Digitalmars-d-learn
mailing list