Automatically replace version pragmas in compilation tests

This commit is contained in:
Alex Beregszaszi 2018-07-28 12:58:42 +01:00
parent d05fdb51b0
commit 321ab08102

View File

@ -177,6 +177,8 @@ do
then
echo " - $dir"
cd "$dir"
# Replace version pragmas
find . -name '*.sol' -type f -print0 | xargs -0 sed -i -e 's/pragma solidity [^;]+/pragma solidity ^0/'
compileFull -w *.sol */*.sol
cd ..
fi