Adding some debug messages to bytecode store.

This commit is contained in:
chriseth 2020-05-27 09:39:45 +02:00
parent f066050ec0
commit 75df2342d6

View File

@ -107,8 +107,10 @@ for (var optimize of [false, true])
} }
} }
EOF EOF
echo "Running the compiler..."
chmod +x solc chmod +x solc
./solc *.sol > report.txt ./solc *.sol > report.txt
echo "Finished running the compiler."
else else
$REPO_ROOT/scripts/bytecodecompare/prepare_report.py $REPO_ROOT/$BUILD_DIR/solc/solc $REPO_ROOT/scripts/bytecodecompare/prepare_report.py $REPO_ROOT/$BUILD_DIR/solc/solc
fi fi
@ -138,6 +140,9 @@ EOF
else else
echo "Adding report failed, it might already exist in the repository." echo "Adding report failed, it might already exist in the repository."
fi fi
else
echo "Not storing bytecode because the keys are not available."
fi fi
) )
rm -rf "$TMPDIR" rm -rf "$TMPDIR"
echo "Storebytecode finished."