Am 03.11.2016 um 14:18 schrieb Andre Pany:
On Thursday, 3 November 2016 at 12:17:29 UTC, Sönke Ludwig wrote:
Am 03.11.2016 um 06:58 schrieb Andre Pany:

Temp-folder builds are only done if the special shebang invocation
syntax is used (i.e. "dub file.d <program args"). Building with "dub
--single file.d" should build normally. This was the case within the
thread, too. Has anything changed since then?

Unfortunately yes, the behavior of dub included in dmd 2.072 is not as
expected (windows & linux).

/+ dub.sdl:
    name "app"
+/
void main(){}

dub --single app.d
Running
..\..\..\..\..\Users\abcdef\AppData\Local\Temp\.dub\build\app-~master\application-debug-windows-x86-dmd_2072-A4FA96FDE8C9353FB025486E4835F2E0\app.exe


Same behavior for dub build --single app.d

Kind regards
André

I checked now and the version included in the (Windows) DMD bundle indeed reports as 1.0.0, so the fix is not present. But the next DMD point release will include 1.1.1, which includes all changes to date. I'll also put binaries of 1.1.0 on code.dlang.org in a few minutes.

Reply via email to