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

Method run

v2/tools/notfile.py:24–33  ·  view source on GitHub ↗
(self, project, name, ps, sources)

Source from the content-addressed store, hash-verified

22class NotfileGenerator(generators.Generator):
23
24 def run(self, project, name, ps, sources):
25 pass
26 action_name = ps.get('action')[0]
27 if action_name[0] == '@':
28 action = virtual_target.Action(get_manager(), sources, action_name[1:], ps)
29 else:
30 action = virtual_target.Action(get_manager(), sources, "notfile.run", ps)
31
32 return [get_manager().virtual_targets().register(
33 virtual_target.NotFileTarget(name, project, action))]
34
35generators.register(NotfileGenerator("notfile.main", False, [], ["NOTFILE_MAIN"]))
36

Callers

nothing calls this directly

Calls 4

get_managerFunction · 0.90
getMethod · 0.80
virtual_targetsMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected