예제 #1
0
파일: polly.py 프로젝트: dpantele/polly
        framework_dir,
        toolchain_entry.ios_version,
        polly_root,
        args.framework_device,
        logging,
        args.plist,
        args.identity
    )
    timer.stop()

if not args.nobuild:
  os.chdir(build_dir)
  if args.test or args.test_xml:
    timer.start('Test')
    detail.test_command.run(build_dir, args.config, logging, args.test_xml)
    timer.stop()
  if args.pack:
    timer.start('Pack')
    detail.pack_command.run(args.config, logging, cpack_generator)
    timer.stop()

if args.open:
  detail.open_project.open(toolchain_entry, build_dir, logging)

print('-')
print('Log saved: {}'.format(logging.log_path))
print('-')
timer.result()
print('-')
print('SUCCESS')
예제 #2
0
파일: polly.py 프로젝트: iznotek/polly
    if args.framework or args.framework_device:
        timer.start('Framework creation')
        detail.create_framework.run(install_dir, framework_dir,
                                    toolchain_entry.ios_version, polly_root,
                                    args.framework_device, logging, args.plist,
                                    args.identity)
        timer.stop()

if not args.nobuild:
    os.chdir(build_dir)
    if args.test or args.test_xml:
        timer.start('Test')
        detail.test_command.run(build_dir, args.config, logging, args.test_xml,
                                args.verbosity == 'full', args.timeout)
        timer.stop()
    if args.pack:
        timer.start('Pack')
        detail.pack_command.run(args.config, logging, cpack_generator)
        timer.stop()

if args.open:
    detail.open_project.open(toolchain_entry, build_dir, logging)

print('-')
print('Log saved: {}'.format(logging.log_path))
print('-')
timer.result()
print('-')
print('SUCCESS')