diff --git a/.gitignore b/.gitignore index 6743796d8..99073998e 100644 --- a/.gitignore +++ b/.gitignore @@ -63,5 +63,8 @@ PowerShellEditorServices.sln.ide/storage.ide # Don't include PlatyPS generated MAML module/PowerShellEditorServices/Commands/en-US/*-help.xml +# Don't include Third Party Notices in module folder +module/PowerShellEditorServices/Third\ Party\ Notices.txt + # Visual Studio for Mac generated file *.userprefs \ No newline at end of file diff --git a/PowerShellEditorServices.build.ps1 b/PowerShellEditorServices.build.ps1 index 635536fc8..4dc22fc64 100644 --- a/PowerShellEditorServices.build.ps1 +++ b/PowerShellEditorServices.build.ps1 @@ -197,6 +197,9 @@ task LayoutModule -After Build { Copy-Item -Force -Path $PSScriptRoot\src\PowerShellEditorServices.Host\bin\$Configuration\net451\UnixConsoleEcho.dll -Destination $PSScriptRoot\module\PowerShellEditorServices\bin\Desktop\ } + # Copy Third Party Notices.txt to module folder + Copy-Item -Force -Path "$PSScriptRoot\Third Party Notices.txt" -Destination $PSScriptRoot\module\PowerShellEditorServices + # Lay out the PowerShellEditorServices.VSCode module's binaries New-Item -Force $PSScriptRoot\module\PowerShellEditorServices.VSCode\bin\ -Type Directory | Out-Null New-Item -Force $PSScriptRoot\module\PowerShellEditorServices.VSCode\bin\Desktop -Type Directory | Out-Null