diff --git a/ADOPTERS.md b/ADOPTERS.md deleted file mode 100644 index ff80c2205..000000000 --- a/ADOPTERS.md +++ /dev/null @@ -1,17 +0,0 @@ -# Adopters - - - -This is a list of adopters of using PowerShell Editor Services in production or in their products (in alphabetical order): - -* [vscode-powershell](https://github.com/PowerShell/vscode-powershell) - Provides rich PowerShell language support for Visual Studio Code. You can write and debug PowerShell scripts using the excellent IDE-like interface that Visual Studio Code provides. - -* [coc-powershell](https://github.com/coc-extensions/coc-powershell) - A Vim and NeoVim plugin powered by PowerShellEditorServices and [coc.nvim](https://github.com/neoclide/coc.nvim) to provide a rich PowerShell editing experience. diff --git a/Directory.Packages.props b/Directory.Packages.props index 428e28735..b90360e52 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,10 +1,10 @@ - - - - + + + + @@ -29,7 +29,7 @@ - + diff --git a/PowerShellEditorServices.build.ps1 b/PowerShellEditorServices.build.ps1 index ffb24dfb4..3e8830088 100644 --- a/PowerShellEditorServices.build.ps1 +++ b/PowerShellEditorServices.build.ps1 @@ -120,8 +120,8 @@ namespace Microsoft.PowerShell.EditorServices.Hosting task RestorePsesModules -If (-not (Test-Path "module/PSReadLine") -or -not (Test-Path "module/PSScriptAnalyzer")) { Write-Build DarkMagenta "Restoring bundled modules" - Save-PSResource -Path module -Name PSScriptAnalyzer -Version "1.23.0" -Repository $PSRepository -TrustRepository -Verbose - Save-PSResource -Path module -Name PSReadLine -Version "2.4.0-beta0" -Prerelease -Repository $PSRepository -TrustRepository -Verbose + Save-PSResource -Path module -Name PSScriptAnalyzer -Version "1.24.0" -Repository $PSRepository -TrustRepository -Verbose + Save-PSResource -Path module -Name PSReadLine -Version "2.4.1-beta1" -Prerelease -Repository $PSRepository -TrustRepository -Verbose } Task Build FindDotNet, CreateBuildInfo, RestorePsesModules, { diff --git a/build.ps1 b/build.ps1 deleted file mode 100644 index 913e907e4..000000000 --- a/build.ps1 +++ /dev/null @@ -1,103 +0,0 @@ -#!/usr/bin/env pwsh - -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. - -param( - [Parameter()] - [switch] - $Bootstrap, - - [Parameter()] - [switch] - $Clean, - - [Parameter()] - [switch] - $Test -) - -$NeededTools = @{ - OpenSsl = "openssl for macOS" - PowerShellGet = "PowerShellGet latest" - InvokeBuild = "InvokeBuild latest" -} - -if ((-not $PSVersionTable["OS"]) -or $PSVersionTable["OS"].Contains("Windows")) { - $OS = "Windows" -} elseif ($PSVersionTable["OS"].Contains("Darwin")) { - $OS = "macOS" -} else { - $OS = "Linux" -} - - -function needsOpenSsl () { - if ($OS -eq "macOS") { - try { - $opensslVersion = (openssl version) - } catch { - return $true - } - } - return $false -} - -function needsPowerShellGet () { - if (Get-Module -ListAvailable -Name PowerShellGet) { - return $false - } - return $true -} - -function needsInvokeBuild () { - if (Get-Module -ListAvailable -Name InvokeBuild) { - return $false - } - return $true -} - -function getMissingTools () { - $missingTools = @() - - if (needsOpenSsl) { - $missingTools += $NeededTools.OpenSsl - } - if (needsPowerShellGet) { - $missingTools += $NeededTools.PowerShellGet - } - if (needsInvokeBuild) { - $missingTools += $NeededTools.InvokeBuild - } - - return $missingTools -} - -function hasMissingTools () { - return ((getMissingTools).Count -gt 0) -} - -if ($Bootstrap) { - $string = "Here is what your environment is missing:`n" - $missingTools = getMissingTools - if (($missingTools).Count -eq 0) { - $string += "* nothing!`n`n Run this script without a flag to build or a -Clean to clean." - } else { - $missingTools | ForEach-Object {$string += "* $_`n"} - $string += "`nAll instructions for installing these tools can be found on PowerShell Editor Services' Github:`n" ` - + "https://github.com/powershell/PowerShellEditorServices#development" - } - Write-Host "`n$string`n" -} elseif(hasMissingTools) { - Write-Host "You are missing needed tools. Run './build.ps1 -Bootstrap' to see what they are." -} else { - if($Clean) { - Invoke-Build Clean - } - - Invoke-Build Build - - if($Test) { - Invoke-Build Test - } -} diff --git a/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj b/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj index 8d4ce9c79..6cd7ae849 100644 --- a/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj +++ b/test/PowerShellEditorServices.Test/PowerShellEditorServices.Test.csproj @@ -18,7 +18,7 @@ - +