dub
dub copied to clipboard
Finalize generation does not create folder before copy/hardLink
When generating visuald project that contains copyFiles-entries, missing folders on destination path is not created before hardlink is tried.
Project tested: https://github.com/dayllenger/beamui.git Dub commandline: dub generate visuald :opengl
Result: Copying files for beamui... Failed to copy P:\project\beamui\libs\windows-x86_64\libpixman-1-0.dll to P:\project\beamui\examples\opengl\bin\libpixman-1-0.dll: Copy from P:\project\beamui\libs\windows-x86_64\libpixman-1-0.dll to P:\project\beamui\examples\opengl\bin\libpixman-1-0.dll: The system cannot find the path specified.
Investigating dub source it seems like tryCopyFile() in generator.d is missing a mkdirRecurse or similar.