From e4942c6384b94ddd64f90f526a842ca266aabf23 Mon Sep 17 00:00:00 2001 From: Bob Summerwill Date: Sat, 23 Jul 2016 06:16:11 -0700 Subject: [PATCH] Forgot to copy the updated release.sh script across too. --- scripts/release.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 4f0b3e6f47c..03fc3fb71a3 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -31,6 +31,7 @@ ZIP_SUFFIX=$1 ZIP_TEMP_DIR=$(pwd)/zip/ +TESTS=$2 if [[ "$OSTYPE" == "darwin"* ]]; then DLL_EXT=dylib @@ -48,9 +49,11 @@ cp ethkey/ethkey $ZIP_TEMP_DIR cp ethminer/ethminer $ZIP_TEMP_DIR cp ethvm/ethvm $ZIP_TEMP_DIR cp rlp/rlp $ZIP_TEMP_DIR -cp test/libethereum/test/testeth $ZIP_TEMP_DIR -cp test/libweb3core/test/testweb3core $ZIP_TEMP_DIR -cp test/webthree/test/testweb3 $ZIP_TEMP_DIR +if [[ "$TESTS" == "On" ]]; then + cp test/libethereum/test/testeth $ZIP_TEMP_DIR + cp test/libweb3core/test/testweb3core $ZIP_TEMP_DIR + cp test/webthree/test/testweb3 $ZIP_TEMP_DIR +fi # Copy all the dynamic libraries into a temporary directory prior to ZIP creation. # There are a lot of these, and it would be great if we didn't have to worry about them.