MCPcopy Create free account
hub / github.com/algorithm-archivists/algorithm-archive / generate

Function generate

builders/go.py:27–37  ·  view source on GitHub ↗
(env)

Source from the content-addressed store, hash-verified

25 env.Detect('go')
26
27def generate(env):
28 env['GO'] = _detect(env)
29 env['GOFLAGS'] = []
30
31 go_builder = Builder(
32 action='"$GO" build -o $TARGET $GOFLAGS $SOURCE',
33 src_suffix='.go',
34 suffix='$PROGSUFFIX',
35 )
36
37 env.Append(BUILDERS={'Go': go_builder})

Callers 1

mainFunction · 0.50

Calls 1

_detectFunction · 0.70

Tested by

no test coverage detected