@@ -96,11 +96,11 @@ task Restore -If { "Restore" -in $BuildTask -or (NeedsRestore(".\src")) -or (Nee
9696
9797task Clean {
9898 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
104104}
105105
106106task GetProductVersion - Before PackageNuGet, PackageModule, UploadArtifacts {
@@ -224,7 +224,7 @@ task PackageNuGet {
224224task PackageModule {
225225 [System.IO.Compression.ZipFile ]::CreateFromDirectory(
226226 " $PSScriptRoot /module/" ,
227- " $PSScriptRoot /module/ PowerShellEditorServices-$ ( $script :FullVersion ) .zip" ,
227+ " $PSScriptRoot /PowerShellEditorServices-$ ( $script :FullVersion ) .zip" ,
228228 [System.IO.Compression.CompressionLevel ]::Optimal,
229229 $false )
230230}
@@ -234,7 +234,7 @@ task UploadArtifacts -If ($script:IsCIBuild) {
234234 Push-AppveyorArtifact .\src\PowerShellEditorServices\bin\$Configuration \Microsoft.PowerShell.EditorServices.$ ($script :FullVersion ).nupkg
235235 Push-AppveyorArtifact .\src\PowerShellEditorServices.Protocol\bin\$Configuration \Microsoft.PowerShell.EditorServices.Protocol.$ ($script :FullVersion ).nupkg
236236 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
238238 }
239239}
240240
0 commit comments