-
Notifications
You must be signed in to change notification settings - Fork 511
Update build and task configurations #3518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -459,7 +459,7 @@ | |||||||
"type": "PowerShell", | ||||||||
"request": "launch", | ||||||||
"script": "^\"\\${file}\"", | ||||||||
"cwd": "^\"\\${file}\"" | ||||||||
"cwd": "^\"\\${workspaceFolder}\"" | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @rkeithhill Do you know why this was There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found my answer at long last... vscode-powershell/src/features/DebugSession.ts Lines 304 to 306 in 3dc11c1
|
||||||||
} | ||||||||
}, | ||||||||
{ | ||||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,8 +49,6 @@ task CleanEditorServices -If (Get-EditorServicesPath) { | |
Invoke-Build Clean (Get-EditorServicesPath) | ||
} | ||
|
||
task CleanAll CleanEditorServices, Clean | ||
|
||
#endregion | ||
#region Build tasks | ||
|
||
|
@@ -69,8 +67,6 @@ task Build CopyEditorServices, Restore, { | |
exec { & npm run compile } | ||
} | ||
|
||
task BuildAll BuildEditorServices, Build | ||
|
||
#endregion | ||
#region Test tasks | ||
|
||
|
@@ -84,8 +80,6 @@ task TestEditorServices -If (Get-EditorServicesPath) { | |
Invoke-Build Test (Get-EditorServicesPath) | ||
} | ||
|
||
task TestAll TestEditorServices, Test | ||
|
||
#endregion | ||
|
||
#region Package tasks | ||
|
@@ -106,7 +100,7 @@ task UpdateReadme -If { $script:IsPreviewExtension } { | |
} | ||
} | ||
|
||
task Package UpdateReadme, { | ||
task Package UpdateReadme, Build, { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Annoying dependency bug if you've cleaned and then want to package, it should just build. |
||
assert { Test-Path ./modules/PowerShellEditorServices } | ||
Write-Host "`n### Packaging $($script:PackageJson.name)-$($script:PackageJson.version).vsix`n" -ForegroundColor Green | ||
exec { & npm run package } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using this a lot when testing, high time to put it in the project's config.