Dub for single files - issue

Andre Pany via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 9 22:21:05 PDT 2016


Hi,

I just changed to latest version of dub (1.0.0) due to a bug.
I am really confused. I want to build an executable for a file.
But the executable will not be created within the same directory
but in a temp directory.

I even tried to set the target path:
/+ dub.sdl:
	name "app"
	targetPath "$PACKAGE_DIR"
+/

>> dub build --single app.d
No luck!

Is there no possibility to let the executable be created within 
the same
directory?

Kind regards
André




More information about the Digitalmars-d-learn mailing list