Пример #1
0
def build(args):
    if os.path.exists(args.output_dir):
        shutil.rmtree(args.output_dir)

    if not args.skip_website:
        website.build_website(args)

    if not args.skip_test_templates:
        test.test_templates(args.website_dir)

    if not args.skip_docs:
        generate_cmake_flags_files(
            os.path.join(os.path.dirname(__file__), '..', '..'))

        build_docs(args)
        from github import build_releases
        build_releases(args, build_docs)

    if not args.skip_blog:
        blog.build_blog(args)

    if not args.skip_website:
        website.process_benchmark_results(args)
        website.minify_website(args)
        redirects.build_static_redirects(args)
Пример #2
0
def build(args):
    if os.path.exists(args.output_dir):
        shutil.rmtree(args.output_dir)

    if not args.skip_website:
        website.build_website(args)

    if not args.skip_docs:
        generate_cmake_flags_files()

        build_docs(args)

    if not args.skip_blog:
        blog.build_blog(args)

    if not args.skip_website:
        website.process_benchmark_results(args)
        website.minify_website(args)
        redirects.build_static_redirects(args)
Пример #3
0
def build(args):
    if os.path.exists(args.output_dir):
        shutil.rmtree(args.output_dir)

    if not args.skip_website:
        website.build_website(args)

    test.test_templates(args.website_dir)

    build_docs(args)

    from github import build_releases
    build_releases(args, build_docs)

    if not args.skip_blog:
        blog.build_blog(args)

    if not args.skip_website:
        website.process_benchmark_results(args)
        website.minify_website(args)
        redirects.build_static_redirects(args)