()
| 560 | } |
| 561 | |
| 562 | func (b BuildConfig) UpdateSubmodules() error { |
| 563 | if b.PortConfig.IgnoreSubmodule || |
| 564 | !fileio.PathExists(filepath.Join(b.PortConfig.RepoDir, ".gitmodules")) { |
| 565 | return nil |
| 566 | } |
| 567 | |
| 568 | title := fmt.Sprintf("[update submodules: %s]", b.PortConfig.nameVersion()) |
| 569 | return git.UpdateSubmodules(title, b.PortConfig.RepoDir) |
| 570 | } |
| 571 | |
| 572 | // Can be override by different buildsystems. |
| 573 | func (b BuildConfig) configureOptions() ([]string, error) { |
nothing calls this directly
no test coverage detected