Browse Source
Merge pull request #1718 from wieslawsoltes/CakeUseIsPlatformNetCoreOnlyProperty
Use IsPlatformNetCoreOnly property in Cake script
pull/1726/head
Jumar Macato
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
packages.cake
|
|
|
@ -225,7 +225,7 @@ public class Packages |
|
|
|
|
|
|
|
IList<NuSpecContent> coreFiles; |
|
|
|
|
|
|
|
if (parameters.Platform != "NetCoreOnly") { |
|
|
|
if (!parameters.IsPlatformNetCoreOnly) { |
|
|
|
var toolsContent = new[] { toolHostApp, toolHostAppNetFx }; |
|
|
|
coreFiles = coreLibrariesNuSpecContent |
|
|
|
.Concat(win32CoreLibrariesNuSpecContent).Concat(net45RuntimePlatform) |
|
|
|
@ -506,7 +506,7 @@ public class Packages |
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsCore); |
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsDesktop); |
|
|
|
|
|
|
|
if (parameters.Platform != "NetCoreOnly") { |
|
|
|
if (!parameters.IsPlatformNetCoreOnly) { |
|
|
|
NuspecNuGetSettings.Add(nuspecNuGetSettingInterop); |
|
|
|
NuspecNuGetSettings.AddRange(nuspecNuGetSettingsMobile); |
|
|
|
} |
|
|
|
|