X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fgenerate-code-contributors.ts;h=f0b37787a6db9c5d045b2a7fbf43f6c5dd1effa4;hb=8e7442d0d818ef25240b46dd1115187c7c042a3a;hp=a077f77a92993df5e643f0d771ee67d18f2e4278;hpb=5ac593b7f73cfe87adaaed6b3e45a318e862f27a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index a077f77a9..f0b37787a 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts @@ -1,7 +1,7 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths' registerTSPaths() -import { execCLI } from '@shared/extra-utils' +import { CLICommand } from '@shared/extra-utils' run() .then(() => process.exit(0)) @@ -31,12 +31,13 @@ async function run () { console.log('\n\n# Icons\n') console.log(' * [Feather Icons](https://feathericons.com) (MIT)') - console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg` by Material UI (Apache 2.0)') + console.log(' * `playlist add`, `history`, `subscriptions`, `miscellaneous-services.svg`, `tip` by Material UI (Apache 2.0)') console.log(' * `support` by Chocobozzz (CC-BY)') console.log(' * `language` by Aaron Jin (CC-BY)') console.log(' * `video-language` by Rigel Kent (CC-BY)') console.log(' * `peertube-x` by Solen DP (CC-BY)') console.log(' * `flame` by Freepik (Flaticon License)') + console.log(' * `local` by Larea (CC-BY)') } { @@ -58,7 +59,7 @@ async function run () { } async function getGitContributors () { - const output = await execCLI(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) + const output = await CLICommand.exec(`git --no-pager shortlog -sn < /dev/tty | sed 's/^\\s\\+[0-9]\\+\\s\\+//g'`) return output.split('\n') .filter(l => !!l)