From f77480cd881a2689dc35515b6c80f4d34653db7c Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 27 Nov 2017 17:06:34 +0100 Subject: [PATCH] Patch truffle to ignore pre-release compiler warning. --- test/externalTests.sh | 50 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/test/externalTests.sh b/test/externalTests.sh index 6ff2ebc5b..1cc0af19e 100755 --- a/test/externalTests.sh +++ b/test/externalTests.sh @@ -42,7 +42,55 @@ DIR=$(mktemp -d) git clone --depth 1 https://github.com/OpenZeppelin/zeppelin-solidity.git "$DIR" cd "$DIR" npm install - cp "$SOLJSON" ./node_modules/solc/soljson.js + find . -name soljson.js -exec cp "$SOLJSON" {} \; + + # This is a patch that lets truffle ignore the pre-release compiler warning + cat > truffle.patch <