]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/client-report.sh
Faster ci using compiled ts files
[github/Chocobozzz/PeerTube.git] / scripts / client-report.sh
CommitLineData
0e4ffb4b 1#!/bin/sh
24a8e782 2
0e4ffb4b
LA
3set -eu
4
a3b5e78a 5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
24a8e782 6
6cca7360 7npm run concurrently -- -k \
583eb04b 8 "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
a3b5e78a 9 "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"