solidity-flattener icon indicating copy to clipboard operation
solidity-flattener copied to clipboard

Multiple solc paths not supported?

Open rsxdalv opened this issue 8 years ago • 3 comments

I've tried a number of options, none of which allow specifying multiple solc-paths: ... --solc-paths="a=b,c=d" ... --solc-paths="a=b;c=d" ... --solc-paths="'a=b''c=d'" ... --solc-paths="a=b c=d" ... --solc-paths="a=b" --solc-paths="c=d" (gets overriden)

Better documentation or enabling this feature would help, since solidity itself does support them.

rsxdalv avatar Oct 12 '17 10:10 rsxdalv

Try comma at end.

This is on the solc side - have never been able to get --allow-paths working without it

Also, because #11 was not merged correctly the --allow-paths flag was dropped.

Here's what I'd try

solidity_flattener --solc-paths "--allow-paths a=b,c=d,"

AFAIK that is the only way you could make it work without patching core.py

XertroV avatar Aug 13 '18 03:08 XertroV

solidity_flattener --solc-paths="--allow-paths a=b,c=d," This produces a unrecognised option '--allow-paths a=b,c=d,'

pstuermlinger avatar Aug 27 '18 08:08 pstuermlinger

+1 can't seem to get this to work using the suggested option.

brianmcmichael avatar Jan 24 '20 18:01 brianmcmichael