MCPcopy
hub / github.com/perkeep/perkeep / RunCommand

Method RunCommand

dev/devcam/test.go:65–79  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

63}
64
65func (c *testCmd) RunCommand(args []string) error {
66 if c.precommit {
67 if err := c.runPrecommitHook(); err != nil {
68 return err
69 }
70 }
71 if err := c.buildSelf(); err != nil {
72 return err
73 }
74 if err := c.runTests(args); err != nil {
75 return err
76 }
77 println("PASS")
78 return nil
79}
80
81func (c *testCmd) env() *Env {
82 env := NewCopyEnv()

Callers

nothing calls this directly

Calls 3

runPrecommitHookMethod · 0.95
buildSelfMethod · 0.95
runTestsMethod · 0.95

Tested by

no test coverage detected