How to use the lbuild.facade function in lbuild

To help you get started, we’ve selected a few lbuild examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github modm-io / lbuild / lbuild / main.py View on Github external
def run(args):
    lbuild.logger.configure_logger(args.verbose)
    lbuild.facade.VERBOSE_DEPRECATION = args.verbose
    lbuild.format.PLAIN = args.plain

    try:
        command = args.execute_action
    except AttributeError:
        raise lbuild.exception.LbuildArgumentException("No command specified!")

    builder = Builder(config=args.config, options=args.options, collectors=args.collectors)
    return command(args, builder)
github modm-io / lbuild / lbuild / module.py View on Github external
            lambda: self.functions['init'](lf.ModuleInitFacade(self)))
github modm-io / lbuild / lbuild / module.py View on Github external
            lambda: self.functions["prepare"](lf.ModulePrepareFacade(self),
                                              self.repository.option_value_resolver))
github modm-io / lbuild / lbuild / repository.py View on Github external
            lambda: self._functions["prepare"](lf.RepositoryPrepareFacade(self),
                                               self.option_value_resolver))
github modm-io / lbuild / lbuild / repository.py View on Github external
                lambda: self._functions['init'](lf.RepositoryInitFacade(self)))
        return Repository(self)
github modm-io / lbuild / lbuild / environment.py View on Github external
def facade_buildlog(self):
        if self.stage == Parser.Stage.POST_BUILD:
            return lf.BuildLogFacade(self.buildlog)
        return None