Install multiple executables with DUB

Jacob Carlborg doob at
Thu Sep 3 14:34:48 UTC 2020

On 2020-09-03 14:41, glis-glis wrote:

> Yes I already tried that, but I get the error
> Error: only one main allowed. Previously found main at src/scripts/copy.d
> Looks like DUB doesn't like multiple binaries?

Oh, multiple binaries, I missed that. You can try to add multiple 
configurations [1]. Or if you have executables depending on only one 
source file, you can use single-file packages [2].

Here are some real-world examples [3][4].


/Jacob Carlborg

More information about the Digitalmars-d-learn mailing list