| ... | @@ -22,8 +22,10 @@ sub_filter() { | ... | @@ -22,8 +22,10 @@ sub_filter() { |
| 22 | echo "// SPDX License Data generated from https://github.com/spdx/license-list-data" > $out_path | 22 | echo "// SPDX License Data generated from https://github.com/spdx/license-list-data" > $out_path |
| 23 | do_print "//" | 23 | do_print "//" |
| 24 | do_print "//" "Last generated from version" $(do_filter '.licenseListVersion') | 24 | do_print "//" "Last generated from version" $(do_filter '.licenseListVersion') |
| 25 | do_print | 25 | do_print "//" |
| 26 | | 26 | |
| | 27 | # |
| | 28 | # |
| 27 | do_print | 29 | do_print |
| 28 | do_print "pub const License = struct {" | 30 | do_print "pub const License = struct {" |
| 29 | print_tab; do_print "isOsiApproved: bool," | 31 | print_tab; do_print "isOsiApproved: bool," |