MCPcopy Index your code
hub / github.com/coder/envbox / buildEnvbox

Function buildEnvbox

integration/main_test.go:22–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func buildEnvbox() {
23 dir, err := exec.Command("git", "rev-parse", "--show-toplevel").CombinedOutput()
24 mustf(err, "output (%s)", string(dir))
25
26 cmd := exec.Command("make", "-j", "build/image/envbox")
27 cmd.Dir = strings.TrimSpace(string(dir))
28 out, err := cmd.CombinedOutput()
29 mustf(err, "make output (%s)", string(out))
30}
31
32func mustf(err error, msg string, args ...interface{}) {
33 if err != nil {

Callers 1

TestMainFunction · 0.85

Calls 2

mustfFunction · 0.85
CombinedOutputMethod · 0.80

Tested by

no test coverage detected