diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-04-30 16:47:09 -0700 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-05-01 11:33:53 -0700 |
commit | b5975057d8a63c8f3a937af0614d7c9c705cc979 (patch) | |
tree | 75fb037d6c8dba5a1869f45b51a5cea7dbe8b478 /src/.nuget | |
parent | 86736f9dbab8224afff7b7a472c1cdf6cba8bd19 (diff) | |
download | coreclr-b5975057d8a63c8f3a937af0614d7c9c705cc979.tar.gz coreclr-b5975057d8a63c8f3a937af0614d7c9c705cc979.tar.bz2 coreclr-b5975057d8a63c8f3a937af0614d7c9c705cc979.zip |
Switch source build property to DotNetBuildFromSource
Detect source-build via DotNetBuildFromSource instead of
DotNetBuildOffline which is set for the tarball build.
Diffstat (limited to 'src/.nuget')
-rw-r--r-- | src/.nuget/dir.traversal.targets | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/.nuget/dir.traversal.targets b/src/.nuget/dir.traversal.targets index 52a33c42d1..33d8657d2a 100644 --- a/src/.nuget/dir.traversal.targets +++ b/src/.nuget/dir.traversal.targets @@ -6,10 +6,10 @@ <PropertyGroup Condition="'$(BuildIdentityPackage)' == ''"> <BuildIdentityPackage>true</BuildIdentityPackage> - <!-- Used to determine if we should build some packages only once across multiple official build legs. - For offline builds we still set OfficialBuildId but we need to build all the packages for a single - leg only, so we also take DotNetBuildOffline into account. --> - <BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildOffline)' != 'true'">true</BuildingAnOfficialBuildLeg> + <!-- Used to determine if we should build some packages only once across multiple official build legs. + For offline builds we still set OfficialBuildId but we need to build all the packages for a single + leg only, so we also take DotNetBuildFromSource into account. --> + <BuildingAnOfficialBuildLeg Condition="'$(OfficialBuildId)' != '' AND '$(DotNetBuildFromSource)' != 'true'">true</BuildingAnOfficialBuildLeg> <!-- During an official build, only build identity packages on windows x64 legs --> <BuildIdentityPackage Condition="'$(BuildingAnOfficialBuildLeg)' == 'true' AND ('$(OS)' != 'Windows_NT' OR '$(BuildArch)' != 'x64')">false</BuildIdentityPackage> @@ -22,7 +22,7 @@ <ItemGroup> <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == '$(PackageRID)'" /> </ItemGroup> - + <ItemGroup Condition="'$(BuildIdentityPackage)' == 'true'"> <_projectsToBuild Include="@(Project)" Condition="'%(Project.PackageTargetRuntime)' == ''" /> </ItemGroup> |