def main(): conf_file = utils.get_conf_file(sys.argv[2]) generate_dependency_rules(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" to specify dependencies on included files.')
def main(): conf_file = utils.get_conf_file(__file__) build_all_error_pages(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" to specify error pages.')
def main(): conf_file = utils.get_conf_file(__file__) build_all_migrations(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" to specify production migrations.')
def main(): conf_file = utils.get_conf_file(__file__) make_all_links(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" to specify symlink builders.')
def main(): conf_file = utils.get_conf_file(__file__) build_all_sphinx_migrations(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" to specify sphinx migrations.')
def main(): conf_file = utils.get_conf_file(__file__) generate_delegated_interface(utils.ingest_yaml(conf_file)) m.write(sys.argv[1]) print('[meta-build]: built "' + sys.argv[1] + '" for a delegated UI build system.')
def user_input(): parser = argparse.ArgumentParser('.htaccess generator.') parser.add_argument('filename', nargs='?', default='.htaccess', help='the name of the file to generate. Defaults to ".htaccess"') parser.add_argument('--match', '-m', action='store_true', default=False, help='generate RedirectMatch if specified, rather than the default Redirect rules.') parser.add_argument('--data', '-d', action='store', default=utils.get_conf_file(__file__), help='the .yaml file containing the redirect information.') return parser.parse_args()
def main(): m.section_break('texinfo manual builders for mongodb content', block='header') for info in utils.ingest_yaml(utils.get_conf_file(__file__)): build_texinfo_manual(info) m.comment('targets for integration') m.target(target='.PHONY', dependency='manual-info', block='footer') m.target(target='manual-info', dependency='$(INFO_OUTPUT)', block='footer') m.write(sys.argv[1])
def user_input(): parser = argparse.ArgumentParser('.htaccess generator.') parser.add_argument( 'filename', nargs='?', default='.htaccess', help='the name of the file to generate. Defaults to ".htaccess"') parser.add_argument( '--match', '-m', action='store_true', default=False, help= 'generate RedirectMatch if specified, rather than the default Redirect rules.' ) parser.add_argument( '--data', '-d', action='store', default=utils.get_conf_file(__file__), help='the .yaml file containing the redirect information.') return parser.parse_args()
def get_config(): return utils.ingest_yaml(utils.get_conf_file(__file__))