MCPcopy Create free account
hub / github.com/celer-pkg/celer / Build

Method Build

buildsystems/build_qmake.go:134–148  ·  view source on GitHub ↗
(options []string)

Source from the content-addressed store, hash-verified

132}
133
134func (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
150func (q qmake) Install(options []string) error {
151 // Execute install.

Callers

nothing calls this directly

Calls 7

NewExecutorFunction · 0.92
SprintfMethod · 0.80
nameVersionMethod · 0.80
SetLogPathMethod · 0.80
SetWorkDirMethod · 0.80
ExecuteMethod · 0.80
getLogPathMethod · 0.65

Tested by

no test coverage detected