aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/travis-emscripten
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-09 07:11:51 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-09 10:46:47 +0800
commit7bbaeedc317096ef89a10c87313f15b020d5adee (patch)
treebfa9fb19c28bf00d86ad863ad780b4f029a25c73 /scripts/travis-emscripten
parent6e0934664b7da3b09fc6294fa39c756670f46f52 (diff)
downloaddexon-solidity-7bbaeedc317096ef89a10c87313f15b020d5adee.tar.gz
dexon-solidity-7bbaeedc317096ef89a10c87313f15b020d5adee.tar.zst
dexon-solidity-7bbaeedc317096ef89a10c87313f15b020d5adee.zip
Add optimisation flags for Emscripten
Diffstat (limited to 'scripts/travis-emscripten')
-rwxr-xr-xscripts/travis-emscripten/build_emscripten.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/travis-emscripten/build_emscripten.sh b/scripts/travis-emscripten/build_emscripten.sh
index 9ca53b89..a6eb01a0 100755
--- a/scripts/travis-emscripten/build_emscripten.sh
+++ b/scripts/travis-emscripten/build_emscripten.sh
@@ -95,8 +95,8 @@ emmake make -j 4
cd ..
cp build/solc/soljson.js ./
-OUTPUT_SIZE=`stat -f "%z" build/solc/soljson.js`
+OUTPUT_SIZE=`ls -la build/solc/soljson.js`
-echo "Emscripten output size: $OUTPUT_SIZE"
+echo "Emscripten output size: ${OUTPUT_SIZE}"
echo -en 'travis_fold:end:compiling_solidity\\r'