Ensure to always use 0.5.0 mode in solcjs tests

This commit is contained in:
Alex Beregszaszi 2018-06-12 17:44:27 +01:00
parent d39917fd0d
commit 2084208dd3

View File

@ -53,6 +53,11 @@ DIR=$(mktemp -d)
rm -f soljson.js rm -f soljson.js
cp "$SOLJSON" soljson.js cp "$SOLJSON" soljson.js
# ensure to use always 0.5.0 sources
# FIXME: should be removed once the version bump in this repo is done
rm -rf test/DAO040
cp -R test/DAO test/DAO040
# Update version (needed for some tests) # Update version (needed for some tests)
echo "Updating package.json to version $VERSION" echo "Updating package.json to version $VERSION"
npm version --no-git-tag-version $VERSION npm version --no-git-tag-version $VERSION