Skip to content

Commit 3b8bfbf

Browse files
committed
improve
1 parent b18add4 commit 3b8bfbf

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Taskfile.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ version: "3"
33
tasks:
44

55
license:
6-
desc: Check dependency licenses
6+
desc: Update license
77
cmds:
88
- licensed cache
9-
- task: license:fix
9+
- task: license:resolve
1010
- licensed status
1111

12-
license:fix:
13-
desc: Fix "other" licenses by fetching the homepage and extracting the license info from the HTML content.
12+
license:resolve:
13+
internal: true
14+
desc: Resolve "other" licenses by fetching the homepage and looking for the license description in the HTML content.
1415
cmds:
1516
- |
1617
mapfile -t files < <(find .licenses -type f -name '*.yml' -exec sh -c 'yq -e ".license == \"other\"" "$1" > /dev/null 2>&1 && echo "$1"' _ {} \;)

0 commit comments

Comments
 (0)