Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cf01f70

Browse filesBrowse files
authored
Merge pull request #405 from filipw/feature/packagelicenseexpression
use <PackageLicenseExpression>MIT</PackageLicenseExpression>
2 parents cbb9e86 + c802428 commit cf01f70
Copy full SHA for cf01f70

File tree

5 files changed

+8
-9
lines changed
Filter options

5 files changed

+8
-9
lines changed

‎build/Choco.csx

Copy file name to clipboardExpand all lines: build/Choco.csx
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ public static class Choco
5656
var tags = projectFile.Descendants("PackageTags").SingleOrDefault()?.Value;
5757
var iconUrl = projectFile.Descendants("PackageIconUrl").SingleOrDefault()?.Value;
5858
var projectUrl = projectFile.Descendants("PackageProjectUrl").SingleOrDefault()?.Value;
59-
var licenseUrl = projectFile.Descendants("PackageLicenseUrl").SingleOrDefault()?.Value;
6059
var repositoryUrl = projectFile.Descendants("RepositoryUrl").SingleOrDefault()?.Value;
6160

6261
var packageElement = new XElement("package");
@@ -68,7 +67,7 @@ public static class Choco
6867
metadataElement.Add(new XElement("id", packageId.ToLower()));
6968
metadataElement.Add(new XElement("version", version));
7069
metadataElement.Add(new XElement("authors", authors));
71-
metadataElement.Add(new XElement("licenseUrl", licenseUrl));
70+
metadataElement.Add(new XElement("licenseUrl", "https://licenses.nuget.org/MIT"));
7271
metadataElement.Add(new XElement("projectUrl", projectUrl));
7372
metadataElement.Add(new XElement("iconUrl", iconUrl));
7473
metadataElement.Add(new XElement("description", description));
@@ -95,4 +94,4 @@ public static class Choco
9594
return new XElement("file", srcAttribute, targetAttribute);
9695
}
9796

98-
}
97+
}

‎src/Dotnet.Script.Core/Dotnet.Script.Core.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script.Core/Dotnet.Script.Core.csproj
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<PackageTags>script;csx;csharp;roslyn</PackageTags>
1111
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
1212
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
13-
<PackageLicenseUrl>https://github.com/filipw/dotnet-script/blob/master/LICENSE</PackageLicenseUrl>
13+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1414
<RepositoryType>git</RepositoryType>
1515
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
1616
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>

‎src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script.DependencyModel.Nuget/Dotnet.Script.DependencyModel.NuGet.csproj
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5-
<PackageLicenseUrl>https://github.com/filipw/dotnet-script/blob/master/LICENSE</PackageLicenseUrl>
5+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
66
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
77
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
88
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
99
<RepositoryType>git</RepositoryType>
1010
<PackageTags>script;csx;csharp;roslyn;nuget</PackageTags>
11-
<Version>0.7.0</Version>
11+
<Version>0.7.1</Version>
1212
<Description>A MetadataReferenceResolver that allows inline nuget references to be specified in script(csx) files.</Description>
1313
<Authors>dotnet-script</Authors>
1414
<Company>dotnet-script</Company>

‎src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script.DependencyModel/Dotnet.Script.DependencyModel.csproj
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<Authors>dotnet-script</Authors>
66
<Company>dotnet-script</Company>
77
<Description>Provides runtime and compilation dependency resolution for dotnet-script based scripts.</Description>
8-
<PackageLicenseUrl>https://github.com/filipw/dotnet-script/blob/master/LICENSE</PackageLicenseUrl>
8+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
99
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
1010
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
1111
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
1212
<RepositoryType>git</RepositoryType>
1313
<PackageTags>script;csx;csharp;roslyn;omnisharp</PackageTags>
14-
<Version>0.8.0</Version>
14+
<Version>0.9.0</Version>
1515
<LangVersion>latest</LangVersion>
1616
</PropertyGroup>
1717

‎src/Dotnet.Script/Dotnet.Script.csproj

Copy file name to clipboardExpand all lines: src/Dotnet.Script/Dotnet.Script.csproj
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageTags>dotnet;cli;script;csx;csharp;roslyn</PackageTags>
1212
<PackageIconUrl>https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl>
1313
<PackageProjectUrl>https://github.com/filipw/dotnet-script</PackageProjectUrl>
14-
<PackageLicenseUrl>https://github.com/filipw/dotnet-script/blob/master/LICENSE</PackageLicenseUrl>
14+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
<RepositoryType>git</RepositoryType>
1616
<RepositoryUrl>https://github.com/filipw/dotnet-script.git</RepositoryUrl>
1717
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.