dub icon indicating copy to clipboard operation
dub copied to clipboard

`--single` should not require a name for the target

Open schveiguy opened this issue 8 months ago • 0 comments
trafficstars

When building with the --single mode (i.e. a single D file with the dub recipe in the comments), dub requires a name directive. However, dmd does not require this, and will name the target executable after the filename. Dub should do the same thing.

Basically, for dub --single, default the name of the target in foo.d to foo.

schveiguy avatar Mar 18 '25 16:03 schveiguy