1
0
Fork 0
peertube/scripts/client-report.sh

9 lines
336 B
Bash
Raw Normal View History

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