How to make project with main application and cli application in the same folder?

Monkyyy crazymonkyyy at gmail.com
Sun Apr 21 15:26:48 UTC 2024


On Sunday, 21 April 2024 at 08:44:38 UTC, alex wrote:
> Hi guys. Trying to play with vibe-d and want to create separate 
> web app, and cli app which can add admin users. When I just 
> keep both files app.d and cli.d in source folder, I get an 
> error that I can't have more then 1 main function.
>
> [...]

This is the issue that made me quit dub entirely, you'll be told 
"you shouldn'twant that" or very complicated git sub project 
nonsense

I suggest seeing if vibe can be ported to plain d and writing a 
build script


More information about the Digitalmars-d-learn mailing list