Skip to content

DUB: recursive copyFiles is broken #102

@mdparker

Description

@mdparker

ogion.art reported this on 2022-01-04T10:09:16Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=22649

Description

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:
{
"targetPath": "build",
"copyFiles" : ["bundle/*"]
}

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.

Comments

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions