PeerTube/scripts/client-report.sh

10 lines
373 B
Bash
Raw Permalink Normal View History

2018-03-27 08:35:12 +00:00
#!/bin/sh
2018-03-27 08:35:12 +00:00
set -eu
2020-08-06 08:26:39 +00:00
gawk -i inplace 'BEGIN { found=0 } { if (found || $0 ~ /^{/) { found=1; print }}' ./client/dist/standalone/videos/embed-stats.json
2018-06-07 14:50:33 +00:00
npm run concurrently -- -k \
2020-06-26 06:37:26 +00:00
"cd client && npm run webpack-bundle-analyzer -- -p 8888 ./dist/en-US/stats.json" \
2020-08-06 08:26:39 +00:00
"cd client && npm run webpack-bundle-analyzer -- -p 8889 ./dist/standalone/videos/embed-stats.json"