mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
default to support relative path:" ./ ../ . ",
in the solidity contacts import paths, default to support relative path:" ./ ../ . " .
This commit is contained in:
parent
45eaef2431
commit
7dbf4ea752
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ func (s *Solidity) makeArgs() []string {
|
||||||
p := []string{
|
p := []string{
|
||||||
"--combined-json", "bin,abi,userdoc,devdoc",
|
"--combined-json", "bin,abi,userdoc,devdoc",
|
||||||
"--optimize", // code optimizer switched on
|
"--optimize", // code optimizer switched on
|
||||||
|
"--allow-paths", "., ./, ../", //default to support relative path: ./ ../ .
|
||||||
}
|
}
|
||||||
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {
|
if s.Major > 0 || s.Minor > 4 || s.Patch > 6 {
|
||||||
p[1] += ",metadata"
|
p[1] += ",metadata"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue