<commit_before># Copyright (c) 2013, <NAME>
# All rights reserved.

include(sugar_add_this_to_sourcelist)
sugar_add_this_to_sourcelist()

include(sugar_execute_process)
include(sugar_expected_number_of_arguments)
include(sugar_fatal_error)
include(sugar_test_target_exists)
include(sugar_test_variable_not_empty)

function(sugar_install_ios_library library_target destination)
  sugar_expected_number_of_arguments(${ARGC} 2)

  if(NOT XCODE_VERSION)
    sugar_fatal_error("Only Xcode")
  endif()

  sugar_test_target_exists(${library_target})

  sugar_test_variable_not_empty(SUGAR_ROOT)

  find_package(PythonInterp 3.2 REQUIRED)

  set(cmd "")
  list(APPEND cmd ${PYTHON_EXECUTABLE})
  list(APPEND cmd ${SUGAR_ROOT}/python/sugar_install_ios_library.py)
  list(APPEND cmd --target)
  list(APPEND cmd ${library_target})
  list(APPEND cmd --destination)
  list(APPEND cmd ${CMAKE_INSTALL_PREFIX}/${destination})

  install(
      CODE
      "execute_process(
          COMMAND
          ${cmd} 
          WORKING_DIRECTORY
          ${PROJECT_BINARY_DIR}
      )"
  )
endfunction()<commit_msg>Fix trailing spaces [skip ci]<commit_after># Copyright (c) 2013, <NAME>
# All rights reserved.

include(sugar_add_this_to_sourcelist)
sugar_add_this_to_sourcelist()

include(sugar_execute_process)
include(sugar_expected_number_of_arguments)
include(sugar_fatal_error)
include(sugar_test_target_exists)
include(sugar_test_variable_not_empty)

function(sugar_install_ios_library library_target destination)
  sugar_expected_number_of_arguments(${ARGC} 2)

  if(NOT XCODE_VERSION)
    sugar_fatal_error("Only Xcode")
  endif()

  sugar_test_target_exists(${library_target})

  sugar_test_variable_not_empty(SUGAR_ROOT)

  find_package(PythonInterp 3.2 REQUIRED)

  set(cmd "")
  list(APPEND cmd ${PYTHON_EXECUTABLE})
  list(APPEND cmd ${SUGAR_ROOT}/python/sugar_install_ios_library.py)
  list(APPEND cmd --target)
  list(APPEND cmd ${library_target})
  list(APPEND cmd --destination)
  list(APPEND cmd ${CMAKE_INSTALL_PREFIX}/${destination})

  install(
      CODE
      "execute_process(
          COMMAND
          ${cmd}
          WORKING_DIRECTORY
          ${PROJECT_BINARY_DIR}
      )"
  )
endfunction()
{'fraction_non_alphanumeric': 0.09458844929513416, 'fraction_numerical': 0.006366530241018645, 'mean_word_length': 5.32183908045977, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2638580', 'n_tokens_mistral': 809, 'n_tokens_neox': 769, 'n_words': 117}