summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarek Mahmoud Sayed <tarekms@microsoft.com>2017-05-10 08:38:20 -0700
committerGitHub <noreply@github.com>2017-05-10 08:38:20 -0700
commitc78891ae1cc668a77377b2b0fb03c7e1a6894b29 (patch)
tree045b6fe5bcbb09fc452bb9aefa2c5ede75852087
parent17468288b4093efc8fea4748ee3c890bf82535bb (diff)
downloadcoreclr-c78891ae1cc668a77377b2b0fb03c7e1a6894b29.tar.gz
coreclr-c78891ae1cc668a77377b2b0fb03c7e1a6894b29.tar.bz2
coreclr-c78891ae1cc668a77377b2b0fb03c7e1a6894b29.zip
Update the License to MIT for coreclr repo (#11482)
-rw-r--r--dir.props1
-rw-r--r--src/.nuget/dir.targets7
2 files changed, 8 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index 496888476a..915468c44c 100644
--- a/dir.props
+++ b/dir.props
@@ -138,6 +138,7 @@
<!-- Packaging properties -->
<PropertyGroup>
+ <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
<PreReleaseLabel>preview2</PreReleaseLabel>
<PackageDescriptionFile>$(SourceDir).nuget/descriptions.json</PackageDescriptionFile>
<PackageLicenseFile>$(SourceDir).nuget/dotnet_library_license.txt</PackageLicenseFile>
diff --git a/src/.nuget/dir.targets b/src/.nuget/dir.targets
index 8628a0d29b..a488694245 100644
--- a/src/.nuget/dir.targets
+++ b/src/.nuget/dir.targets
@@ -84,5 +84,12 @@
</ItemGroup>
</Target>
+ <!-- OverrideLicenseUrl is temporary till we update the buildtools to v2 -->
+ <Target Name="OverrideLicenseUrl" BeforeTargets="GenerateNuSpec">
+ <PropertyGroup>
+ <LicenseUrl>https://github.com/dotnet/corefx/blob/master/LICENSE</LicenseUrl>
+ </PropertyGroup>
+ </Target>
+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)\.., dir.targets))\dir.targets" />
</Project>