Copy extraData to multiple directories
hirseboy opened this issue · 2 comments
hirseboy commented
Sorry, I did not fully understand your documentation, but is it possible to copy extraData to multiple directories?
EndrII commented
Hi, it's simple.
just prepare your extra data dirs.
For example
myDir/with/extra1/
myDir/with/extra2
Each dirs should be contained own subdirectory that should be to contain in your distribution.
and just add your dirs with extra data to deploy. After this, override the output directory using a extraDataOut option, to a distribution root dir..
cqtdeployer -extraDir "myDir/with/extra1/,myDir/with/extra2" -extraDataOut "/"
EndrII commented
here is my example
extraDataMultiDirExample.zip
example.sh
cqtdeployer -extraData extra1,extra2 -extraDataOut / zip
.
├── DistributionKit
│ ├── Application
│ │ ├── extra1
│ │ │ └── header1.h
│ │ └── extra2
│ │ └── header2.h
│ ├── Application.zip
│ └── Application.zip.md5
├── example.sh
├── extra1
│ └── header1.h
└── extra2
└── header2.h
7 directories, 7 files