executes autobuild function if autobuild option is enabled, logs error and ignores it
(p *build.Package)
| 255 | // executes autobuild function if autobuild option is enabled, logs error and |
| 256 | // ignores it |
| 257 | func try_autobuild(p *build.Package) { |
| 258 | if g_config.Autobuild { |
| 259 | err := autobuild(p) |
| 260 | if err != nil && *g_debug { |
| 261 | log.Printf("Autobuild error: %s\n", err) |
| 262 | } |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | func log_found_package_maybe(imp, pkgpath string) { |
| 267 | if *g_debug { |
no test coverage detected