aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/travis-emscripten
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-09 07:09:40 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-09 07:09:40 +0800
commit6e0934664b7da3b09fc6294fa39c756670f46f52 (patch)
tree8ed62d86444fb106850b231d8788161766a97461 /scripts/travis-emscripten
parent6f2bc0d20150204c33d3ec8747e92a43ad54ab46 (diff)
downloaddexon-solidity-6e0934664b7da3b09fc6294fa39c756670f46f52.tar.gz
dexon-solidity-6e0934664b7da3b09fc6294fa39c756670f46f52.tar.zst
dexon-solidity-6e0934664b7da3b09fc6294fa39c756670f46f52.zip
Display emscripten output size
Diffstat (limited to 'scripts/travis-emscripten')
-rwxr-xr-xscripts/travis-emscripten/build_emscripten.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh
index f5374a33..9ca53b89 100755
--- a/scripts/travis-emscripten/build_emscripten.sh
+++ b/scripts/travis-emscripten/build_emscripten.sh
@@ -95,4 +95,8 @@ emmake make -j 4
cd ..
cp build/solc/soljson.js ./
+OUTPUT_SIZE=`stat -f "%z" build/solc/soljson.js`
+
+echo "Emscripten output size: $OUTPUT_SIZE"
+
echo -en 'travis_fold:end:compiling_solidity\\r'