Skip to content

Commit 80aceb7

Browse files
committed
Move compile data to build options
1 parent e305630 commit 80aceb7

6 files changed

Lines changed: 18 additions & 28 deletions

File tree

src/Microsoft.PowerShell.Commands.Management/project.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
"buildOptions": {
77
"warningsAsErrors": true,
8-
"allowUnsafe": true
8+
"allowUnsafe": true,
9+
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
910
},
1011

1112
"dependencies": {
@@ -34,7 +35,5 @@
3435
"Microsoft.WSMan.Management": "1.0.0"
3536
}
3637
}
37-
},
38-
39-
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Management/*.cs" ]
38+
}
4039
}

src/Microsoft.PowerShell.Commands.Utility/project.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
"buildOptions": {
77
"warningsAsErrors": true,
8-
"allowUnsafe": true
8+
"allowUnsafe": true,
9+
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
910
},
1011

1112
"configurations": {
@@ -43,7 +44,5 @@
4344
"Microsoft.mshtml": "1.0.0"
4445
}
4546
}
46-
},
47-
48-
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Commands.Utility/*.cs" ]
47+
}
4948
}

src/Microsoft.PowerShell.ConsoleHost/project.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77
"buildOptions": {
88
"warningsAsErrors": true,
9-
"allowUnsafe": true
9+
"allowUnsafe": true,
10+
"compile": [ "../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs" ]
1011
},
1112

1213
"dependencies": {
@@ -36,9 +37,5 @@
3637
},
3738
"net451": {
3839
}
39-
},
40-
41-
"compile": [
42-
"../windows-build/gen/Microsoft.PowerShell.ConsoleHost/*.cs"
43-
]
40+
}
4441
}

src/Microsoft.PowerShell.CoreCLR.Eventing/project.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
"buildOptions": {
77
"warningsAsErrors": true,
8-
"allowUnsafe": true
8+
"allowUnsafe": true,
9+
"compile": [ "../windows-build/gen/Microsoft.PowerShell.CoreCLR.Eventing/*.cs" ]
910
},
1011

1112
"configurations": {
@@ -29,7 +30,5 @@
2930
"System.Security.SecureString": "4.0.0-*"
3031
}
3132
}
32-
},
33-
34-
"compile": [ "../windows-build/gen/Microsoft.PowerShell.CoreCLR.Eventing/*.cs" ]
33+
}
3534
}

src/Microsoft.PowerShell.Security/project.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
"buildOptions": {
77
"warningsAsErrors": true,
8-
"allowUnsafe": true
8+
"allowUnsafe": true,
9+
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
910
},
1011

1112
"dependencies": {
@@ -21,7 +22,5 @@
2122
},
2223
"net451": {
2324
}
24-
},
25-
26-
"compile": [ "../windows-build/gen/Microsoft.PowerShell.Security/*.cs" ]
25+
}
2726
}

src/System.Management.Automation/project.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
"buildOptions": {
77
"warningsAsErrors": true,
8-
"allowUnsafe": true
8+
"allowUnsafe": true,
9+
"compile": [ "../windows-build/gen/System.Management.Automation/*.cs" ]
910
},
1011

1112
"configurations": {
@@ -78,9 +79,5 @@
7879
"System.Configuration.Install": ""
7980
}
8081
}
81-
},
82-
83-
"compile": [
84-
"../windows-build/gen/System.Management.Automation/*.cs"
85-
]
82+
}
8683
}

0 commit comments

Comments
 (0)