Bug 22649 – DUB: recursive `copyFiles` is broken

Status
NEW
Severity
normal
Priority
P3
Component
tools
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2022-01-04T10:09:16Z
Last change time
2022-12-17T10:37:13Z
Assigned to
No Owner
Creator
Georgy Markov

Attachments

IDFilenameSummaryContent-TypeSize
1837dubbug.7zExample projectapplication/x-7z-compressed404

Comments

Comment #0 by ogion.art — 2022-01-04T10:09:16Z
Created attachment 1837 Example project The project is structured like this: bundle/1/1.txt bundle/1/2/2.txt source/app.d dub.json dub.json: { "name" : "app", "targetPath": "build", "copyFiles" : ["bundle/*"] } Running DUB should create a `build` folder containing: 1/1.txt 1/2/2.txt app.exe Instead, `build` looks like this: 1/1.txt 1/2/2.txt 2/2.txt 1.txt 2.txt app.exe I’m using DUB v1.27.0 that ships with DMD v2.098.1.