<commit_before>#!/bin/sh

set -o pipefail

xcodeVersion=$(xcrun xcodebuild -version)
if ( ! ( echo ${xcodeVersion} | grep "Xcode 8" > /dev/null 2>&1 ) ); then
    echo "Expected Xcode 8.x, got "$(xcrun xcodebuild -version|grep "Xcode ")
fi

(
    cd $(dirname $0)/App
    pod install
    xcrun xcodebuild -workspace App.xcworkspace -scheme App | xcpretty
)<commit_msg>Fail if unexpected Xcode version<commit_after>#!/bin/sh

set -o pipefail

xcodeVersion=$(xcrun xcodebuild -version)
if ( ! ( echo ${xcodeVersion} | grep "Xcode 8" > /dev/null 2>&1 ) ); then
    echo "Expected Xcode 8.x, got "$(xcrun xcodebuild -version|grep "Xcode ")
    exit 1
fi

(
    cd $(dirname $0)/App
    pod install
    xcrun xcodebuild -workspace App.xcworkspace -scheme App | xcpretty
)
{'fraction_non_alphanumeric': 0.13577023498694518, 'fraction_numerical': 0.014360313315926894, 'mean_word_length': 3.5384615384615383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4305863', 'n_tokens_mistral': 291, 'n_tokens_neox': 272, 'n_words': 82}