added stac-export-licenses
This commit is contained in:
parent
d2b12e6c14
commit
c2f8989c3e
7
stack-export-licenses.fish
Executable file
7
stack-export-licenses.fish
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/fish
|
||||||
|
for i in (stack ls dependencies --license --external | cut -d ' ' -f 2 | sort -u);
|
||||||
|
echo "# Licensed under $i:";
|
||||||
|
stack ls dependencies --license --external | grep $i | cut -d ' ' -f 1 | sort -u | sed 's/^/- /';
|
||||||
|
echo "";
|
||||||
|
echo "";
|
||||||
|
end > dependency-licenses.md
|
Loading…
Reference in New Issue
Block a user