fix build

This commit is contained in:
KevinMarquette
2017-05-02 23:33:33 -07:00
parent 7605b3136e
commit db20538e0e

View File

@@ -97,7 +97,7 @@ Task Build -Depends Test {
$psm1 = "$PSScriptRoot\$env:BHProjectName\$env:BHProjectName.psm1" $psm1 = "$PSScriptRoot\$env:BHProjectName\$env:BHProjectName.psm1"
# keep the first line in the psm1 file and clear the rest # keep the first line in the psm1 file and clear the rest
Get-Content -Path $psm1 -TotalCount 1 | Set-Content -Path $psm1 Get-Content -Path $psm1 -TotalCount 1 -Raw | Set-Content -Path $psm1
foreach ( $folder in ('Classes', 'Public', 'Private') ) foreach ( $folder in ('Classes', 'Public', 'Private') )
{ {
Add-Content -Path $psm1 -Value "Write-Verbose 'Importing from [$folder]'" Add-Content -Path $psm1 -Value "Write-Verbose 'Importing from [$folder]'"