mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Refactor project.json dependencies
The packages are now dependencies of the `dnxcore50` framework itself, rather than globally. The `compilationOptions` were pruned, with `CORECLR` moved to frameworks, `_CORECLR` removed for all but `Management.Infrastructure`, and `LINUX` moved to a new `Linux` configuration, used only in `build.sh`. This configuration is purposefully absent from libraries that do not use `LINUX`, so that it is not relied upon without strong consideration. The dependencies were pruned to reduce duplication.
This commit is contained in:
1 parent
3e1cdb7582
commit
172ddc6ad1
10 files changed
+147
-107
No files matched your search
@@ -4,23 +4,23 @@
|
||||
"authors": [ "garretts", "andschwa" ],
|
||||
|
||||
"compilationOptions": {
|
||||
"define": [
|
||||
"CORECLR",
|
||||
"_CORECLR",
|
||||
"LINUX"
|
||||
],
|
||||
"allowUnsafe": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"NETStandard.Library": "1.0.0-rc3-23729",
|
||||
"System.Management.Automation": {
|
||||
"type": "build",
|
||||
"version": "1.0.0-*"
|
||||
}
|
||||
},
|
||||
|
||||
"frameworks": { "dnxcore50": { } },
|
||||
"frameworks": {
|
||||
"dnxcore50": {
|
||||
"compilationOptions": {
|
||||
"define": [ "CORECLR" ]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"compile": [ "../windows-build/gen/SECURITY/*.cs" ],
|
||||
|
||||
|
||||
Reference in new issue
Block a user