@@ -96,11 +96,11 @@ task Restore -If { "Restore" -in $BuildTask -or (NeedsRestore(".\src")) -or (Nee
96
96
97
97
task Clean {
98
98
exec { & $script :dotnetExe clean }
99
- Remove-Item . \module\PowerShellEditorServices\bin - Recurse - Force - ErrorAction Ignore
100
- Remove-Item . \module\PowerShellEditorServices.VSCode\bin - Recurse - Force - ErrorAction Ignore
101
- Get-ChildItem - Recurse src\* .nupkg | Remove-Item - Force - ErrorAction Ignore
102
- Get-ChildItem .\module \PowerShellEditorServices* .zip | Remove-Item - Force - ErrorAction Ignore
103
- Get-ChildItem . \module\PowerShellEditorServices\Commands\en- US\*- help.xml | Remove-Item - Force - ErrorAction Ignore
99
+ Remove-Item $PSScriptRoot \module\PowerShellEditorServices\bin - Recurse - Force - ErrorAction Ignore
100
+ Remove-Item $PSScriptRoot \module\PowerShellEditorServices.VSCode\bin - Recurse - Force - ErrorAction Ignore
101
+ Get-ChildItem - Recurse $PSScriptRoot \ src\* .nupkg | Remove-Item - Force - ErrorAction Ignore
102
+ Get-ChildItem $PSScriptRoot \PowerShellEditorServices* .zip | Remove-Item - Force - ErrorAction Ignore
103
+ Get-ChildItem $PSScriptRoot \module\PowerShellEditorServices\Commands\en- US\*- help.xml | Remove-Item - Force - ErrorAction Ignore
104
104
}
105
105
106
106
task GetProductVersion - Before PackageNuGet, PackageModule, UploadArtifacts {
@@ -224,7 +224,7 @@ task PackageNuGet {
224
224
task PackageModule {
225
225
[System.IO.Compression.ZipFile ]::CreateFromDirectory(
226
226
" $PSScriptRoot /module/" ,
227
- " $PSScriptRoot /module/ PowerShellEditorServices-$ ( $script :FullVersion ) .zip" ,
227
+ " $PSScriptRoot /PowerShellEditorServices-$ ( $script :FullVersion ) .zip" ,
228
228
[System.IO.Compression.CompressionLevel ]::Optimal,
229
229
$false )
230
230
}
@@ -234,7 +234,7 @@ task UploadArtifacts -If ($script:IsCIBuild) {
234
234
Push-AppveyorArtifact .\src\PowerShellEditorServices\bin\$Configuration \Microsoft.PowerShell.EditorServices.$ ($script :FullVersion ).nupkg
235
235
Push-AppveyorArtifact .\src\PowerShellEditorServices.Protocol\bin\$Configuration \Microsoft.PowerShell.EditorServices.Protocol.$ ($script :FullVersion ).nupkg
236
236
Push-AppveyorArtifact .\src\PowerShellEditorServices.Host\bin\$Configuration \Microsoft.PowerShell.EditorServices.Host.$ ($script :FullVersion ).nupkg
237
- Push-AppveyorArtifact .\module\ PowerShellEditorServices- $ ($script :FullVersion ).zip
237
+ Push-AppveyorArtifact .\PowerShellEditorServices- $ ($script :FullVersion ).zip
238
238
}
239
239
}
240
240
0 commit comments