mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Rename compilationOptions to buildOptions in project.json files
This resolves #928. This is a breaking change in that you *must* be running a recent version of .NET CLI.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "garretts", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
@@ -15,7 +15,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "garretts", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Linux": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "LINUX" ]
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"imports": [ "dnxcore50", "portable-net45+win8" ],
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "PowerShell Host",
|
||||
"authors": [ "sevoroby", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
@@ -25,7 +25,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50", "portable-net45+win8" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR", "PORTABLE" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Linux": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "LINUX" ]
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "sevoroby" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Linux": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "NOETW" ]
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"imports": [ "dnxcore50", "portable-net45+win8" ]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "garretts", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
@@ -15,7 +15,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
"version": "1.0.0-*",
|
||||
"authors": [ "garretts", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"configurations": {
|
||||
"Linux": {
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "LINUX", "NOETW" ]
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
"frameworks": {
|
||||
"netstandard1.5": {
|
||||
"imports": [ "dnxcore50" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "SecureString Stub borrowed from Mono",
|
||||
"authors": [ "garretts" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Generates CorePsTypeCatalog.cs given powershell.inc",
|
||||
"authors": [ "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": ".NET CLI PowerShell app",
|
||||
"authors": [ "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"allowUnsafe": true,
|
||||
"emitEntryPoint": true
|
||||
@@ -26,7 +26,7 @@
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
"imports": [ "dnxcore50", "portable-net45+win8" ],
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0-*",
|
||||
"description": "PSReadLine basic tests",
|
||||
|
||||
"compilationOptions": {
|
||||
"buildOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user