Skip to content

Commit

Permalink
Change license to Apache-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynafloating committed Jan 22, 2021
1 parent a09f903 commit 9eda350
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ISO3166/ISO3166/Country.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Generated by WebCrawler at 2021/01/22 10:53:57
* Data source: https://zh.wikipedia.org/zh-tw/ISO_3166-1 and https://zh.wikipedia.org/zh-cn/ISO_3166-1
* License: https://creativecommons.org/licenses/by-sa/3.0/
* License: https://opensource.org/licenses/Apache-2.0
*/
using System.Collections.Generic;
namespace ISO3166
Expand Down
5 changes: 3 additions & 2 deletions ISO3166/ISO3166/ISO3166.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
<Copyright></Copyright>
<PackageTags>iso3166 country chinese 中文</PackageTags>
<PackageProjectUrl>https://github.com/Dynafloating/iso3166-1-zh</PackageProjectUrl>
<PackageLicenseUrl>https://creativecommons.org/licenses/by-sa/3.0/</PackageLicenseUrl>
<Version>1.0.1</Version>
<PackageLicenseUrl></PackageLicenseUrl>
<Version>1.0.2</Version>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion WebCrawler/WebCrawler/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static void _generateFile(string fullPath)
var csPath = Path.Combine(fullPath, "Country.cs");

var notes = $"/*\r\n * Generated by WebCrawler at {DateTime.Now:yyyy/MM/dd HH:mm:ss}\r\n" +
$" * Data source: {Wiki_TW} and {Wiki_CN}\r\n * License: https://creativecommons.org/licenses/by-sa/3.0/ \r\n */\r\n";
$" * Data source: {Wiki_TW} and {Wiki_CN}\r\n * License: https://opensource.org/licenses/Apache-2.0 \r\n */\r\n";

var countryModelTexts = _models
.Select(o => $"new CountryModel(\"{o.Name}\", \"{o.TwoLetterCode}\", \"{o.ThreeLetterCode}\", " +
Expand Down

0 comments on commit 9eda350

Please sign in to comment.