diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/client-report.sh | 4 | ||||
-rwxr-xr-x | scripts/generate-code-contributors.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/client-report.sh b/scripts/client-report.sh index df7ccda27..a758a211c 100755 --- a/scripts/client-report.sh +++ b/scripts/client-report.sh | |||
@@ -5,5 +5,5 @@ set -eu | |||
5 | gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-stats.json | 5 | gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/embed-stats.json |
6 | 6 | ||
7 | npm run concurrently -- -k \ | 7 | npm run concurrently -- -k \ |
8 | "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en_US/stats.json" \ | 8 | "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en_US/stats-es2015.json" \ |
9 | "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/embed-stats.json" \ No newline at end of file | 9 | "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/embed-stats.json" |
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts index 0d6266056..c745b1cb2 100755 --- a/scripts/generate-code-contributors.ts +++ b/scripts/generate-code-contributors.ts | |||
@@ -13,7 +13,7 @@ async function run () { | |||
13 | { | 13 | { |
14 | const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors') | 14 | const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors') |
15 | 15 | ||
16 | console.log('# Code\n') | 16 | console.log('# Code contributors\n') |
17 | for (const contributor of contributors) { | 17 | for (const contributor of contributors) { |
18 | const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com') | 18 | const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com') |
19 | console.log(` * [${contributor.login}](${contributorUrl})`) | 19 | console.log(` * [${contributor.login}](${contributorUrl})`) |
@@ -27,7 +27,7 @@ async function run () { | |||
27 | 27 | ||
28 | const translators = await fetchZanata(zanataUsername, zanataToken) | 28 | const translators = await fetchZanata(zanataUsername, zanataToken) |
29 | 29 | ||
30 | console.log('\n\n# Translations\n') | 30 | console.log('\n\n# Translation contributors\n') |
31 | for (const translator of translators) { | 31 | for (const translator of translators) { |
32 | console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`) | 32 | console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`) |
33 | } | 33 | } |