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.