()
| 437 | } |
| 438 | |
| 439 | func (p Port) IsHostSupported() bool { |
| 440 | // Only build_tool ports (like m4, automake, libtool, autoconf) are restricted to Linux/Darwin. |
| 441 | if !p.Package.BuildTool { |
| 442 | return true |
| 443 | } |
| 444 | |
| 445 | return runtime.GOOS == "linux" || runtime.GOOS == "darwin" |
| 446 | } |
| 447 | |
| 448 | func (p Port) validate() error { |
| 449 | if p.Package.Url == "" { |
no outgoing calls
no test coverage detected