def run(self, runtime): path = self['path'] for registration in Format.read(self['config']): implementation = import_object(registration['implementation']) constructor = StaticConstructor(implementation.config, registration['archetypes']) runtime.execute('mesh.javascript', path=path, bundle=constructor.construct())
def run(self, runtime): annotator = StaticAnnotator() for registration in Format.read(self['config']): candidate = self['specifications'] / registration['id'].replace(':', '_') if candidate.exists(): registration['specification'] = eval(candidate.bytes()) annotator.process(registration) ENTITY_API.attach(annotator.generate_mounts()) runtime.execute('mesh.javascript', path=self['path'], bundle=ENTITY_API)
def run(self, runtime): annotator = StaticAnnotator() for registration in Format.read(self['config']): candidate = self['specifications'] / registration['id'].replace( ':', '_') if candidate.exists(): registration['specification'] = eval(candidate.bytes()) annotator.process(registration) ENTITY_API.attach(annotator.generate_mounts()) runtime.execute('mesh.javascript', path=self['path'], bundle=ENTITY_API)