Skip to content

Commit 2e30909

Browse files
Update build.ps1
1 parent 888dcce commit 2e30909

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build/build.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,8 @@ $null = New-Item -ItemType Directory -Path "./private" -Force -ErrorAction Silen
138138

139139
# Ensure System.Runtime.CompilerServices.Unsafe is in place
140140
$nugetCache = "$env:USERPROFILE\.nuget\packages"; Get-ChildItem -Path "$nugetCache\system.runtime.compilerservices.unsafe\*\lib\net6.0\System.Runtime.CompilerServices.Unsafe.dll" -Recurse | Select-Object -Last 1 | Copy-Item -Destination "C:\github\dbatools.library\lib\core\" -PassThru | Out-Null
141+
# Remove lib/release folder
142+
Remove-Item -Path "./lib/release" -Recurse -Force -ErrorAction SilentlyContinue
141143

144+
Write-Host "Build completed successfully. Files organized and temporary artifacts cleaned up."
142145
Write-Host "Build completed successfully. Files organized and temporary artifacts cleaned up."

0 commit comments

Comments
 (0)