mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Automatically replace version pragmas in compilation tests
This commit is contained in:
parent
d05fdb51b0
commit
321ab08102
@ -177,6 +177,8 @@ do
|
|||||||
then
|
then
|
||||||
echo " - $dir"
|
echo " - $dir"
|
||||||
cd "$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
|
compileFull -w *.sol */*.sol
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user