]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - scripts/client-report.sh
Live streaming implementation first step
[github/Chocobozzz/PeerTube.git] / scripts / client-report.sh
... / ...
CommitLineData
1#!/bin/sh
2
3set -eu
4
5gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
6
7npm run concurrently -- -k \
8 "cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
9 "cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"