mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
force_solc_settings: Stop using the outdated 'solc' key for compiler settings in truffle-config.js
- Settings were moved under 'compilers' in Truffle 5.0.0 and none of the projects use older Truffle.
This commit is contained in:
parent
a64a2fa186
commit
609f1746c9
@ -158,7 +158,6 @@ function force_solc_settings
|
|||||||
|
|
||||||
# Forcing the settings should always work by just overwriting the solc object. Forcing them by using a
|
# Forcing the settings should always work by just overwriting the solc object. Forcing them by using a
|
||||||
# dedicated settings objects should only be the fallback.
|
# dedicated settings objects should only be the fallback.
|
||||||
echo "module.exports['solc'] = { optimizer: $settings, evmVersion: \"$evmVersion\" };" >> "$config_file"
|
|
||||||
echo "module.exports['compilers']['solc']['settings'] = { optimizer: $settings, evmVersion: \"$evmVersion\" };" >> "$config_file"
|
echo "module.exports['compilers']['solc']['settings'] = { optimizer: $settings, evmVersion: \"$evmVersion\" };" >> "$config_file"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user