File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ task GetExtensionVersion -Before Package {
32
32
}
33
33
}
34
34
35
- task ResolveEditorServicesPath - Before Clean , Build {
35
+ task ResolveEditorServicesPath - Before Clean , BuildEditorServices {
36
36
37
37
$script :psesRepoPath = `
38
38
if ($EditorServicesRepoPath ) {
@@ -74,16 +74,19 @@ task Clean {
74
74
Remove-Item .\out - Recurse - Force - ErrorAction Ignore
75
75
}
76
76
77
- task Build - Before Package {
77
+ task Build BuildEditorServices , BuildClient - Before Package
78
78
79
- # If the PSES codebase is co-located, build it first
79
+ task BuildClient {
80
+ Write-Host " `n ### Building vscode-powershell" - ForegroundColor Green
81
+ exec { & npm run compile }
82
+ }
83
+
84
+ task BuildEditorServices {
85
+ # If the PSES codebase is co-located, build it first
80
86
if ($script :psesBuildScriptPath ) {
81
87
Write-Host " `n ### Building PowerShellEditorServices`n " - ForegroundColor Green
82
88
Invoke-Build Build $script :psesBuildScriptPath
83
89
}
84
-
85
- Write-Host " `n ### Building vscode-powershell" - ForegroundColor Green
86
- exec { & npm run compile }
87
90
}
88
91
89
92
task Package {
You can’t perform that action at this time.
0 commit comments