Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalize generation does not create folder before copy/hardLink #2145

Open
JudgeFish opened this issue Jun 12, 2021 · 0 comments · May be fixed by #2146
Open

Finalize generation does not create folder before copy/hardLink #2145

JudgeFish opened this issue Jun 12, 2021 · 0 comments · May be fixed by #2146
Labels

Comments

@JudgeFish
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants