X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fgenerate-code-contributors.ts;h=70b33c0d31f24a59b0c52eb617ec6bafe3798f73;hb=b8fa3e8c734a46918118afe7976f248cc883f675;hp=db5af3f9152dadc350d624c6a49f34a914eeb346;hpb=4d7ce9218a3f695bf3d013cbdce1c5c6a5221927;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index db5af3f91..70b33c0d3 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,7 +31,7 @@ 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)') @@ -59,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) @@ -193,6 +193,9 @@ function getContributorsBlacklist () { return { 'Bigard Florian': true, 'chocobozzz': true, - 'Rigel': true + 'Rigel': true, + + // Requested by the contributor + 'Marcel Cramm': true } }