Add script to generate license dependencies as csv (#18411)
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
This commit is contained in:
parent
e28496d4e2
commit
48c6eb9ac7
5 changed files with 35 additions and 2 deletions
6
script/licenses/template.csv.hbs
Normal file
6
script/licenses/template.csv.hbs
Normal file
|
@ -0,0 +1,6 @@
|
|||
Crate Name,Crate Version,License,Url
|
||||
{{#each licenses}}
|
||||
{{#each used_by}}
|
||||
{{crate.name}},{{crate.version}},{{../name}},{{#if crate.repository}}{{crate.repository}}{{else}}https://crates.io/crates/{{crate.name}}{{/if}}
|
||||
{{/each}}
|
||||
{{/each}}
|
Loading…
Add table
Add a link
Reference in a new issue