MCPcopy Create free account
hub / github.com/boostorg/build / MessageTargetClass

Class MessageTargetClass

src/tools/message.py:16–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14from b2.manager import get_manager
15
16class MessageTargetClass(targets.BasicTarget):
17
18 def __init__(self, name, project, *args):
19
20 targets.BasicTarget.__init__(self, name, project, [])
21 self.args = args
22 self.built = False
23
24 def construct(self, name, sources, ps):
25
26 if not self.built:
27 for arg in self.args:
28 if type(arg) == type([]):
29 arg = " ".join(arg)
30 print arg
31 self.built = True
32
33 return (property_set.empty(), [])
34
35def message(name, *args):
36

Callers 1

messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected