@@ -13,7 +13,7 @@ function BuildModule
1313 throw " Module name may not be empty"
1414 }
1515
16- # region Handle Working Directory DefaultsHostsFile
16+ # region Handle Working Directory Defaults
1717 $WorkingDirectory = Join-Path - Path $PSScriptRoot - ChildPath " ..\$Name "
1818 $publishDir = New-Item - Path $PSScriptRoot - Name " ..\publish" - ItemType Directory - Force
1919 # endregion Handle Working Directory Defaults
@@ -84,7 +84,7 @@ if (-not $env:PSModulePath.Contains($modpath))
8484 $env: PSModulePath = ' {0}{1}{2}' -f $modPath , $sep , $env: PSModulePath
8585}
8686
87- $modules = ' AutomatedLabCore' , ' AutomatedLabUnattended' , ' PSLog' , ' PSFileTransfer' , ' AutomatedLabDefinition' , ' AutomatedLabWorker' , ' HostsFile ' , ' AutomatedLabNotifications' , ' AutomatedLabTest' , ' AutomatedLab.Ships' , ' AutomatedLab.Recipe' , ' AutomatedLab'
87+ $modules = ' AutomatedLabCore' , ' AutomatedLabUnattended' , ' PSLog' , ' PSFileTransfer' , ' AutomatedLabDefinition' , ' AutomatedLabWorker' , ' AutomatedLabNotifications' , ' AutomatedLabTest' , ' AutomatedLab.Ships' , ' AutomatedLab.Recipe' , ' AutomatedLab'
8888Write-Host " Building modules $ ( $modules -join ' ,' ) to $modPath "
8989foreach ($module in $modules )
9090{
@@ -165,7 +165,7 @@ Installed-Size: $('{0:0}' -f ((Get-ChildItem -Path (Join-Path $buildFolder -Chil
165165"@ | Set-Content - Path ./ deb/ automatedlab/ DEBIAN/ control - Encoding UTF8
166166
167167# Copy content
168- foreach ($source in [IO.DirectoryInfo []]@ (' ./publish/AutomatedLab' , ' ./publish/AutomatedLab.Recipe' , ' ./publish/AutomatedLab.Ships' , ' ./publish/AutomatedLabDefinition' , ' ./publish/AutomatedLabNotifications' , ' ./publish/AutomatedLabTest' , ' ./publish/AutomatedLabUnattended' , ' ./publish/AutomatedLabWorker' , ' ./publish/HostsFile ' , ' ./publish/ PSLog' , ' ./publish/PSFileTransfer' ))
168+ foreach ($source in [IO.DirectoryInfo []]@ (' ./publish/AutomatedLab' , ' ./publish/AutomatedLab.Recipe' , ' ./publish/AutomatedLab.Ships' , ' ./publish/AutomatedLabDefinition' , ' ./publish/AutomatedLabNotifications' , ' ./publish/AutomatedLabTest' , ' ./publish/AutomatedLabUnattended' , ' ./publish/AutomatedLabWorker' , ' ./publish/PSLog' , ' ./publish/PSFileTransfer' ))
169169{
170170 $sourcePath = Join-Path - Path $source - ChildPath ' /*'
171171 $modulepath = Join-Path - Path ./ deb/ automatedlab/ usr/ local/ share/ powershell/ Modules - ChildPath " $ ( $source.Name ) /$ ( $env: APPVEYOR_BUILD_VERSION ) "
0 commit comments