mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10441 from ethereum/fix-version-pragma-replacement-in-external-tests
Fix command for stripping version pragmas in external tests
This commit is contained in:
commit
7e7a42c6ad
@ -104,7 +104,7 @@ function replace_version_pragmas
|
||||
# Replace fixed-version pragmas (part of Consensys best practice).
|
||||
# Include all directories to also cover node dependencies.
|
||||
printLog "Replacing fixed-version pragmas..."
|
||||
find . test -name '*.sol' -type f -print0 | xargs -0 sed -i -e 's/pragma solidity [\^0-9\.]*/pragma solidity >=0.0/'
|
||||
find . test -name '*.sol' -type f -print0 | xargs -0 sed -i -E -e 's/pragma solidity [^;]+;/pragma solidity >=0.0;/'
|
||||
}
|
||||
|
||||
function replace_libsolc_call
|
||||
|
Loading…
Reference in New Issue
Block a user