mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Include license during build
Rather than including it only at packaging, we should include this license as part of `dotnet build` and `dotnet publish`.
This commit is contained in:
1 parent
7c9a76bfdb
commit
a3f3734f09
3 files changed
+4
-3
No files matched your search
@@ -840,9 +840,6 @@ It consists of a cross-platform command-line shell and associated scripting lang
|
|||||||
$Source = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish))
|
$Source = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Publish))
|
||||||
Write-Verbose "Packaging $Source"
|
Write-Verbose "Packaging $Source"
|
||||||
|
|
||||||
Write-Verbose "Copy license and third party notice to $Source"
|
|
||||||
Copy-Item "$PSScriptRoot\LICENSE.txt" "$Source" -Force -ErrorAction SilentlyContinue
|
|
||||||
|
|
||||||
if ($IsWindows) {
|
if ($IsWindows) {
|
||||||
# Product Guid needs to be unique for every PowerShell version to allow SxS install
|
# Product Guid needs to be unique for every PowerShell version to allow SxS install
|
||||||
$productGuid = [guid]::NewGuid()
|
$productGuid = [guid]::NewGuid()
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"*.so",
|
"*.so",
|
||||||
"*.dylib",
|
"*.dylib",
|
||||||
|
"../../LICENSE.txt",
|
||||||
"../../powershell.version"
|
"../../powershell.version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
"include": [
|
"include": [
|
||||||
"*.so",
|
"*.so",
|
||||||
"*.dylib",
|
"*.dylib",
|
||||||
|
"../../LICENSE.txt",
|
||||||
"../../powershell.version"
|
"../../powershell.version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
"../../LICENSE.txt",
|
||||||
"../../powershell.version"
|
"../../powershell.version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -47,6 +48,7 @@
|
|||||||
"pwrshplugin.dll",
|
"pwrshplugin.dll",
|
||||||
"pwrshplugin.pdb",
|
"pwrshplugin.pdb",
|
||||||
"Install-PowerShellRemoting.ps1",
|
"Install-PowerShellRemoting.ps1",
|
||||||
|
"../../LICENSE.txt",
|
||||||
"../../powershell.version"
|
"../../powershell.version"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user