mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unused find_truffle_config
This commit is contained in:
parent
8edd5d4fd9
commit
a64a2fa186
@ -109,20 +109,6 @@ function replace_version_pragmas
|
||||
find . test -name '*.sol' -type f -print0 | xargs -0 sed -i -E -e 's/pragma solidity [^;]+;/pragma solidity >=0.0;/'
|
||||
}
|
||||
|
||||
function find_truffle_config
|
||||
{
|
||||
local config_file="truffle.js"
|
||||
local alt_config_file="truffle-config.js"
|
||||
|
||||
if [ ! -f "$config_file" ] && [ ! -f "$alt_config_file" ]; then
|
||||
printError "No matching Truffle config found."
|
||||
fi
|
||||
if [ ! -f "$config_file" ]; then
|
||||
config_file=alt_config_file
|
||||
fi
|
||||
echo "$config_file"
|
||||
}
|
||||
|
||||
function force_solc_truffle_modules
|
||||
{
|
||||
# Replace solc package by v0.5.0 and then overwrite with current version.
|
||||
|
Loading…
Reference in New Issue
Block a user