@@ -129,44 +129,9 @@ task Package {
129
129
Move-Item - Force .\PowerShell- $ ($script :ExtensionVersion ).vsix .\PowerShell- insiders.vsix
130
130
}
131
131
132
- task V2Process {
133
- # Throwing this in so that we can get v2 builds going. This should be refactored later.
134
- try {
135
- if (! $script :psesBuildScriptPath ) {
136
- throw " PSES path required."
137
- }
138
-
139
- # grab 2.0 PSRL bits
140
- Write-Host " `n ### Grabbing 2.0 bits"
141
- Push-Location ..\PowerShellEditorServices
142
- git remote add patrick https:// github.com / SeeminglyScience/ PowerShellEditorServices.git
143
- git fetch -- all
144
- git checkout integrate- psreadline- 2
145
- Invoke-Build Build
146
- Pop-Location
147
-
148
- Write-Host " `n ### Copying PowerShellEditorServices module files" - ForegroundColor Green
149
- Copy-Item - Recurse - Force ..\PowerShellEditorServices\module\* .\modules
150
-
151
- Write-Host " `n ### Packaging PowerShell-insiders.vsix`n " - ForegroundColor Green
152
- exec { & node ./ node_modules/ vsce/ out/ vsce package }
153
-
154
- # Change the package to have a static name for automation purposes
155
- Move-Item - Force .\PowerShell- $ ($script :ExtensionVersion ).vsix .\PowerShell- v2- insiders.vsix
156
- }
157
- catch {
158
- Write-Host " tried to build v2 but failed because of: `n`n $_ "
159
- }
160
-
161
- }
162
-
163
132
task UploadArtifacts - If { $env: AppVeyor } {
164
-
165
133
Push-AppveyorArtifact .\PowerShell- insiders.vsix
166
- if (Test-Path .\PowerShell- v2- insiders.vsix) {
167
- Push-AppveyorArtifact .\PowerShell- v2- insiders.vsix
168
- }
169
134
}
170
135
171
136
# The default task is to run the entire CI build
172
- task . GetExtensionVersion, CleanAll, BuildAll, Test, Package, V2Process , UploadArtifacts
137
+ task . GetExtensionVersion, CleanAll, BuildAll, Test, Package, UploadArtifacts
0 commit comments