{
        ...
        "configurations": [
                {
                        ...
                        "targetPath": "/build",
                        "copyFiles": [
                                "/template"
                        ],
                        "dependencies": {
                                "package": { "path": "./source/package" }
                        },
                        "subPackages": [
                                {
                                        "name": "package",
                                        "sourcePaths": ["/source/package"],
                                        "importPaths": ["/source/package"],
                                        "targetPath": "/template",
                                        "targetName": "./package",
                                        "copyFiles": [
                                          "some_file"
                                        ]
                                }
                        ]
                }
        ]
}

Hello.
I have a dub project which contains another one subProject in source dir. I need some files to be copied when subPackage builds. And I expect files to be copied to "targetPath": "/template" of subProject, but it copies to "targetPath": "/build", which is root output project
Should copyFiles for subPackage use it's target path

Reply via email to