mirror of https://github.com/status-im/reagent.git
Report gziped sizes for adv built test suite files
This commit is contained in:
parent
9b1b4e2c44
commit
93864b840b
13
run-tests.sh
13
run-tests.sh
|
@ -36,4 +36,17 @@ done
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue