mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Use include key in copyToOutput and publishOptions
While the schema says that a `string[]` will be picked up as if `{
"include" : [ ... ] }` was used, it does not. This is a .NET CLI bug.
This commit is contained in:
@@ -8,7 +8,18 @@
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ],
|
||||
"copyToOutput": [
|
||||
"copyToOutput": {
|
||||
"include": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"powershell.exe",
|
||||
"../../powershell.version"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"publishOptions": {
|
||||
"include": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"powershell.exe",
|
||||
@@ -16,13 +27,6 @@
|
||||
]
|
||||
},
|
||||
|
||||
"publishOptions": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"powershell.exe",
|
||||
"../../powershell.version"
|
||||
],
|
||||
|
||||
"dependencies": {
|
||||
"Microsoft.PowerShell.PSReadLine": "1.0.0-*",
|
||||
"Microsoft.PowerShell.Commands.Management": "1.0.0-*",
|
||||
|
||||
@@ -8,7 +8,19 @@
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"emitEntryPoint": true,
|
||||
"copyToOutput": [
|
||||
"copyToOutput": {
|
||||
"include": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"*.so",
|
||||
"*.dylib",
|
||||
"../../powershell.version"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"publishOptions": {
|
||||
"include": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"*.so",
|
||||
@@ -17,14 +29,6 @@
|
||||
]
|
||||
},
|
||||
|
||||
"publishOptions": [
|
||||
"Modules",
|
||||
"../Modules",
|
||||
"*.so",
|
||||
"*.dylib",
|
||||
"../../powershell.version"
|
||||
],
|
||||
|
||||
"dependencies": {
|
||||
"Microsoft.PowerShell.ConsoleHost": "1.0.0-*"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user