Пример #1
0
def main():
    config = ingest_yaml(get_conf_file(file=__file__, directory=conf.paths.builddata))

    make_all_sphinx(config)

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] + '" to specify sphinx builders.')
Пример #2
0
def main():
    config = ingest_yaml(
        get_conf_file(file=__file__, directory=conf.paths.builddata))

    make_all_sphinx(config)

    m.write(sys.argv[1])

    print('[meta-build]: built "' + sys.argv[1] +
          '" to specify sphinx builders.')
Пример #3
0
def main():
    conf_file = get_conf_file(__file__)

    config = ingest_yaml(conf_file)

    if 'base' in config:
        generate_integration_targets(config['base'])

        for lang, lang_config in config.iteritems():
            if lang == 'base':
                continue

            if 'inherit' in lang_config:
                new_config = config[lang_config['inherit']]
                new_config.update(lang_config)

                gennerate_translation_integration_targets(lang, new_config)
            else:
                gennerate_translation_integration_targets(lang, lang_config)
    else:
        generate_integration_targets(config)

    m.write(sys.argv[1])
    print('[meta-build]: build "' + sys.argv[1] + '" to specify integration targets.')