(options []string)
| 132 | } |
| 133 | |
| 134 | func (q qmake) Build(options []string) error { |
| 135 | // Assemble command. |
| 136 | command := fmt.Sprintf("make -j %d", q.PortConfig.Jobs) |
| 137 | |
| 138 | // Execute build. |
| 139 | title := fmt.Sprintf("[build %s]", q.PortConfig.nameVersion()) |
| 140 | executor := cmd.NewExecutor(title, command) |
| 141 | executor.SetLogPath(q.getLogPath("build")) |
| 142 | executor.SetWorkDir(q.PortConfig.BuildDir) |
| 143 | if err := executor.Execute(); err != nil { |
| 144 | return err |
| 145 | } |
| 146 | |
| 147 | return nil |
| 148 | } |
| 149 | |
| 150 | func (q qmake) Install(options []string) error { |
| 151 | // Execute install. |
nothing calls this directly
no test coverage detected