mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Override Truffle version in Gnosis safe-contracts.
This commit is contained in:
parent
f13fa7ed82
commit
1fbcf7bd8b
@ -83,6 +83,13 @@ function download_project
|
||||
echo "Current commit hash: `git rev-parse HEAD`"
|
||||
}
|
||||
|
||||
function force_truffle_version
|
||||
{
|
||||
local repo="$1"
|
||||
|
||||
sed -i 's/"truffle":\s*".*"/"truffle": "^5.0.42"/g' package.json
|
||||
}
|
||||
|
||||
function truffle_setup
|
||||
{
|
||||
local repo="$1"
|
||||
|
@ -34,6 +34,8 @@ function gnosis_safe_test
|
||||
CONFIG="truffle.js"
|
||||
|
||||
truffle_setup https://github.com/erak/safe-contracts.git development_060
|
||||
force_truffle_version
|
||||
|
||||
run_install install_fn
|
||||
|
||||
replace_libsolc_call
|
||||
|
Loading…
Reference in New Issue
Block a user