RejectedSoftware Forums

Sign up

Ability to copy directories - similar to copyFiles

Feature request: copyDirs

It could be useful to have an ability to specify directories to copy with its content to destination directory, similar to current functionality - copyFiles parameter.

It could be separate package.json parameter copyDirs or just enhancement of existing copyFiles - to take directories as well as files.

Use case

Library dlangui has resources directory which should be copied to the same directory where executable which is using library is located.
E.g., in library, there is res folder.
When I specify "copyFiles": {"res"} in package.json, DUB will copy its content into subdirectory with the same name res in directory with library user's executable.

Re: Ability to copy directories - similar to copyFiles

Created pool request

Pool request on GitHUB

Fix is working for dub build.
Not tested on visuald/monod generators.

Re: Ability to copy directories - similar to copyFiles

On Mon, 08 Dec 2014 14:04:55 GMT, Vadim Lopatin wrote:

Created pool request

Pool request on GitHUB

Fix is working for dub build.
Not tested on visuald/monod generators.

(pool request is merged)