예제 #1
0
def handle_log(args):
    """
    Generates a build log by running the original build command.
    No analysis is done.
    """
    args.logfile = os.path.realpath(args.logfile)
    if os.path.exists(args.logfile):
        os.remove(args.logfile)

    context = generic_package_context.get_context()
    build_manager.perform_build_command(args.logfile, args.command, context)
예제 #2
0
def handle_log(args):
    """
    Generates a build log by running the original build command
    No analysis is done
    """
    args.logfile = os.path.realpath(args.logfile)
    if os.path.exists(args.logfile):
        os.remove(args.logfile)

    context = generic_package_context.get_context()
    open(args.logfile, 'a').close()  # same as linux's touch
    build_manager.perform_build_command(args.logfile, args.command, context)
예제 #3
0
def handle_log(args):
    """
    Generates a build log by running the original build command.
    No analysis is done.
    """
    args.logfile = os.path.realpath(args.logfile)
    if os.path.exists(args.logfile):
        os.remove(args.logfile)

    context = generic_package_context.get_context()
    build_manager.perform_build_command(args.logfile,
                                        args.command,
                                        context)
예제 #4
0
def handle_log(args):
    """
    Generates a build log by running the original build command
    No analysis is done
    """
    args.logfile = os.path.realpath(args.logfile)
    if os.path.exists(args.logfile):
        os.remove(args.logfile)

    context = generic_package_context.get_context()
    open(args.logfile, 'a').close()  # same as linux's touch
    build_manager.perform_build_command(args.logfile,
                                        args.command,
                                        context)