File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -351,3 +351,4 @@ MigrationBackup/
351
351
Package /
352
352
SAT /
353
353
scwpd /
354
+ Module /
Original file line number Diff line number Diff line change @@ -147,12 +147,31 @@ else {
147
147
New-Item - ItemType Directory - Force - Path $toolsDirectory
148
148
}
149
149
150
+ Write-Host " =================================================================================================================================="
151
+ Write-Host " `n "
152
+ Write-Host " START - [Copying over .scwdp contents to Sitecore module asset image structure]"
153
+ Write-Host " `n "
154
+
155
+ # Copy content
156
+ Copy-Item - Path " $extractSCwdpDirectory \Content\Website\*" - Destination $cmContentDirectory - PassThru - Recurse
157
+
158
+ # Copy dacpacs + rename
159
+ if (Test-Path (" $extractSCwdpDirectory \core.dacpac" )) {
160
+ Copy-Item - Path " $extractSCwdpDirectory \core.dacpac" - Destination $dbDirectory - PassThru
161
+ Rename-Item - Path " $dbDirectory \core.dacpac" - NewName " Sitecore.Core.dacpac"
162
+ }
163
+
164
+ if (Test-Path (" $extractSCwdpDirectory \master.dacpac" )) {
165
+ Copy-Item - Path " $extractSCwdpDirectory \master.dacpac" - Destination $dbDirectory - PassThru
166
+ Rename-Item - Path " $dbDirectory \master.dacpac" - NewName " Sitecore.Master.dacpac"
167
+ }
168
+
150
169
Write-Host " =================================================================================================================================="
151
170
Write-Host " `n "
152
171
Write-Host " SUCCESS - Succesfully created the Docker Asset Image structure in directory $moduleDirectory " - ForegroundColor Green
153
172
Write-Host " `n "
154
173
155
- tree $moduleDirectory / a
174
+ tree $moduleDirectory / f / a
156
175
157
176
Write-Host " `n "
158
177
Write-Host " =================================================================================================================================="
You can’t perform that action at this time.
0 commit comments