Skip to content

Commit 56be9ef

Browse files
committed
update ThirdPartyLibraries tool
1 parent 2a13771 commit 56be9ef

3 files changed

Lines changed: 15 additions & 4 deletions

File tree

Build/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Requires -Version "7.0"
22
#Requires -Modules @{ ModuleName="InvokeBuild"; ModuleVersion="5.11.3" }
3-
#Requires -Modules @{ ModuleName="ThirdPartyLibraries"; ModuleVersion="3.6.0" }
3+
#Requires -Modules @{ ModuleName="ThirdPartyLibraries"; ModuleVersion="3.8.0" }
44

55
[CmdletBinding()]
66
param (

Build/third-party-libraries/configuration/appsettings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://raw.githubusercontent.com/max-ieremenko/ThirdPartyLibraries/refs/heads/master/Docs/schema.appsettings.json",
23
"nuget.org": {
34
"allowToUseLocalCache": true,
45
"downloadPackageIntoRepository": false,
@@ -65,5 +66,13 @@
6566
]
6667
}
6768
]
69+
},
70+
"repository": {
71+
"remarks.md": {
72+
"keepEmptyFile": false
73+
},
74+
"third-party-notices.txt": {
75+
"keepEmptyFile": "IfRequiredByLicense"
76+
}
6877
}
6978
}

Build/third-party-libraries/configuration/nuget.org-readme-template.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,27 @@ Description
1515
-----------
1616
{{Description}}
1717

18+
{%- if Remarks -%}
1819
Remarks
1920
-----------
2021
{{Remarks}}
2122

23+
{%- endif -%}
2224
{%- if ThirdPartyNotices -%}
2325
Third party notices
2426
-----------
2527
{{ThirdPartyNotices}}
26-
{%- endif -%}
2728

29+
{%- endif -%}
30+
{%- if DependenciesCount > 0 -%}
2831
Dependencies {{DependenciesCount}}
2932
-----------
3033

31-
{%- if DependenciesCount > 0 -%}
3234
|Name|Version|
3335
|----------|:----|
3436
{%- for dependency in Dependencies -%}
3537
|[{{dependency.Name}}]({{dependency.LocalHRef}})|{{dependency.Version}}|
3638
{%- endfor -%}
37-
{%- endif -%}
3839

40+
{%- endif -%}
3941
*This page was generated by a tool.*

0 commit comments

Comments
 (0)