Skip to content

Commit a141b64

Browse files
Merge pull request #605 from tylerl0706/add-third-party-notices-to-build
copy third party notices to module folder at build time
2 parents a11d9c0 + 9d78e54 commit a141b64

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,8 @@ PowerShellEditorServices.sln.ide/storage.ide
6363
# Don't include PlatyPS generated MAML
6464
module/PowerShellEditorServices/Commands/en-US/*-help.xml
6565

66+
# Don't include Third Party Notices in module folder
67+
module/PowerShellEditorServices/Third\ Party\ Notices.txt
68+
6669
# Visual Studio for Mac generated file
6770
*.userprefs

PowerShellEditorServices.build.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ task LayoutModule -After Build {
197197
Copy-Item -Force -Path $PSScriptRoot\src\PowerShellEditorServices.Host\bin\$Configuration\net451\UnixConsoleEcho.dll -Destination $PSScriptRoot\module\PowerShellEditorServices\bin\Desktop\
198198
}
199199

200+
# Copy Third Party Notices.txt to module folder
201+
Copy-Item -Force -Path "$PSScriptRoot\Third Party Notices.txt" -Destination $PSScriptRoot\module\PowerShellEditorServices
202+
200203
# Lay out the PowerShellEditorServices.VSCode module's binaries
201204
New-Item -Force $PSScriptRoot\module\PowerShellEditorServices.VSCode\bin\ -Type Directory | Out-Null
202205
New-Item -Force $PSScriptRoot\module\PowerShellEditorServices.VSCode\bin\Desktop -Type Directory | Out-Null

0 commit comments

Comments
 (0)