Report gziped sizes for adv built test suite files

This commit is contained in:
Juho Teperi 2018-03-13 21:25:20 +02:00
parent 9b1b4e2c44
commit 93864b840b
1 changed files with 13 additions and 0 deletions

View File

@ -36,4 +36,17 @@ done
echo -e "$SUMMARY" echo -e "$SUMMARY"
echo
for env in test-environments/*-prod; do
name=$(basename "$env")
path="test-environments/$name/target/cljsbuild/prod-test/main.js"
if [[ -f "$path" ]]; then
echo "$name $(./node_modules/.bin/gzip-size "$path")"
fi
done
echo
echo "NOTE: These sizes include Reagent test suite which also uses React-dom/server, so this doesn't demonstrate real use case."
exit $EXIT exit $EXIT