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

Class NotfileGenerator

v2/tools/notfile.py:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20type.register("NOTFILE_MAIN")
21
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 1

notfile.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected