From 80aceb7a8a0eae158c05a3666a1fa3909f1e5fc8 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 10 Jun 2016 11:15:37 -0700 Subject: [PATCH] Move compile data to build options --- .../project.json | 7 +++---- src/Microsoft.PowerShell.Commands.Utility/project.json | 7 +++---- src/Microsoft.PowerShell.ConsoleHost/project.json | 9 +++------ src/Microsoft.PowerShell.CoreCLR.Eventing/project.json | 7 +++---- src/Microsoft.PowerShell.Security/project.json | 7 +++---- src/System.Management.Automation/project.json | 9 +++------ 6 files changed, 18 insertions(+), 28 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Management/project.json b/src/Microsoft.PowerShell.Commands.Management/project.json index 5eb1803163..97c855f81c 100644 --- a/src/Microsoft.PowerShell.Commands.Management/project.json +++ b/src/Microsoft.PowerShell.Commands.Management/project.json @@ -5,7 +5,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ] }, "dependencies": { @@ -34,7 +35,5 @@ "Microsoft.WSMan.Management": "1.0.0" } } - }, - - "compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ] + } } diff --git a/src/Microsoft.PowerShell.Commands.Utility/project.json b/src/Microsoft.PowerShell.Commands.Utility/project.json index 3f20366ff5..89e813cb6f 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/project.json +++ b/src/Microsoft.PowerShell.Commands.Utility/project.json @@ -5,7 +5,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ] }, "configurations": { @@ -43,7 +44,5 @@ "Microsoft.mshtml": "1.0.0" } } - }, - - "compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ] + } } diff --git a/src/Microsoft.PowerShell.ConsoleHost/project.json b/src/Microsoft.PowerShell.ConsoleHost/project.json index fd5325fb9e..b04a7ae643 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/project.json +++ b/src/Microsoft.PowerShell.ConsoleHost/project.json @@ -6,7 +6,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ] }, "dependencies": { @@ -36,9 +37,5 @@ }, "net451": { } - }, - - "compile": [ - "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" - ] + } } diff --git a/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json b/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json index ed146f543f..6a35f47c3d 100644 --- a/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json +++ b/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json @@ -5,7 +5,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/Microsoft.PowerShell.CoreCLR.Eventing/*.cs" ] }, "configurations": { @@ -29,7 +30,5 @@ "System.Security.SecureString": "4.0.0-*" } } - }, - - "compile": [ "../windows-build/gen/Microsoft.PowerShell.CoreCLR.Eventing/*.cs" ] + } } diff --git a/src/Microsoft.PowerShell.Security/project.json b/src/Microsoft.PowerShell.Security/project.json index bf7057573a..fe0710e3b8 100644 --- a/src/Microsoft.PowerShell.Security/project.json +++ b/src/Microsoft.PowerShell.Security/project.json @@ -5,7 +5,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ] }, "dependencies": { @@ -21,7 +22,5 @@ }, "net451": { } - }, - - "compile": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ] + } } diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index 216f823f49..5acef7e892 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -5,7 +5,8 @@ "buildOptions": { "warningsAsErrors": true, - "allowUnsafe": true + "allowUnsafe": true, + "compile": [ "../windows-build/gen/System.Management.Automation/*.cs" ] }, "configurations": { @@ -78,9 +79,5 @@ "System.Configuration.Install": "" } } - }, - - "compile": [ - "../windows-build/gen/System.Management.Automation/*.cs" - ] + } }