diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-28 19:58:42 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-09-26 02:03:24 +0800 |
commit | 321ab08102d5d238bc594e357b94bef2207cf7d2 (patch) | |
tree | 6c404e90aad0481a6d8a1216c249709d17ccff3b /test | |
parent | d05fdb51b0a7fa1fd3d31e0a65c5ce3e634e1aeb (diff) | |
download | dexon-solidity-321ab08102d5d238bc594e357b94bef2207cf7d2.tar.gz dexon-solidity-321ab08102d5d238bc594e357b94bef2207cf7d2.tar.zst dexon-solidity-321ab08102d5d238bc594e357b94bef2207cf7d2.zip |
Automatically replace version pragmas in compilation tests
Diffstat (limited to 'test')
-rwxr-xr-x | test/cmdlineTests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh index f7577cb3..e4218b6e 100755 --- a/test/cmdlineTests.sh +++ b/test/cmdlineTests.sh @@ -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 |