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:
Andrew Schwartzmeyer 2016-06-10 13:00:33 -07:00
parent 9b2be207f7
commit 2639f2a8ae
2 changed files with 25 additions and 17 deletions

View File

@ -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-*",

View File

@ -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-*"
},