DUB copyFiles for subPackages
Andre Pany
andre at s-e-a-p.de
Tue Dec 17 13:33:44 UTC 2019
On Tuesday, 17 December 2019 at 13:03:17 UTC, Dmitriy wrote:
> {
> ...
> "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"
> ]
> }
> ]
> }
> ]
> }
>
> [...]
Could you check whether you can use variable $PACKAGE_DIR or
$ROOT_PACKAGE_DIR
in copyFiles command to specify the correct folder?
Kind regards
André
More information about the Digitalmars-d-learn
mailing list