Update content to copyToOutput and publishOptions

These must be duplicated as we require the same files for both `build`
and `publish`. This is the requirement of the new schema, as `content`
was split.

Note that while each key can take an object, if given just a `string[]`
as we do here, it defaults to `include`.

See the new schema: https://github.com/aspnet/Announcements/issues/175
This commit is contained in:
Andrew Schwartzmeyer
2016-06-10 12:41:26 -07:00
parent 1a1de1d4a0
commit 44f3fb1211
2 changed files with 28 additions and 14 deletions
@@ -7,22 +7,28 @@
"buildOptions": {
"warningsAsErrors": true,
"allowUnsafe": true,
"compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ]
"compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ],
"copyToOutput": [
"Modules",
"../Modules",
"powershell.exe",
"../../powershell.version"
]
},
"publishOptions": [
"Modules",
"../Modules",
"powershell.exe",
"../../powershell.version"
],
"dependencies": {
"Microsoft.PowerShell.PSReadLine": "1.0.0-*",
"Microsoft.PowerShell.Commands.Management": "1.0.0-*",
"Microsoft.PowerShell.Commands.Utility": "1.0.0-*"
},
"content": [
"Modules",
"../Modules",
"powershell.exe",
"../../powershell.version"
],
"frameworks": {
"netstandard1.5": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
+14 -6
View File
@@ -7,14 +7,18 @@
"buildOptions": {
"warningsAsErrors": true,
"allowUnsafe": true,
"emitEntryPoint": true
"emitEntryPoint": true,
"copyToOutput": [
"Modules",
"../Modules",
"*_profile.ps1",
"*.so",
"*.dylib",
"../../powershell.version"
]
},
"dependencies": {
"Microsoft.PowerShell.ConsoleHost": "1.0.0-*"
},
"content": [
"publishOptions": [
"Modules",
"../Modules",
"*_profile.ps1",
@@ -23,6 +27,10 @@
"../../powershell.version"
],
"dependencies": {
"Microsoft.PowerShell.ConsoleHost": "1.0.0-*"
},
"frameworks": {
"netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ],