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:
parent
9b2be207f7
commit
2639f2a8ae
@ -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-*"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user