<commit_before>#!/bin/bash
if test `find . -name \*.pbxproj -exec grep -H /Users/ {} \;|tee /tmp/found|wc -l` -gt 0; then
	cat /tmp/found
	exit 1
fi
set -o pipefail

echo "Building AudioKit Frameworks"
cd Frameworks
./build_frameworks.sh || exit 1
cd ..

echo "Building OSX HelloWorld"
xcodebuild -project Examples/OSX/HelloWorld/HelloWorld.xcodeproj -scheme HelloWorld build  | xcpretty -c || exit 4

echo "Building iOS HelloWorld"
xcodebuild -project Examples/iOS/HelloWorld/HelloWorld.xcodeproj  -scheme HelloWorld ONLY_ACTIVE_ARCH=NO build | xcpretty -c || exit 5

echo "tvOS HelloWorld not built in this test due to code signing issues"
# xcodebuild -project Examples/tvOS/HelloWorld/HelloWorld.xcodeproj -scheme HelloWorld ONLY_ACTIVE_ARCH=NO build | xcpretty -c || exit 6

echo "Building AudioKitParticles"
xcodebuild -project Examples/iOS/AudioKitParticles/AudioKitParticles.xcodeproj -scheme AudioKitParticles ONLY_ACTIVE_ARCH=NO build | xcpretty -c || exit 7
<commit_msg>Clean before building in the travis script.<commit_after>#!/bin/bash
if test `find . -name \*.pbxproj -exec grep -H /Users/ {} \;|tee /tmp/found|wc -l` -gt 0; then
	cat /tmp/found
	exit 1
fi
set -o pipefail

echo "Building AudioKit Frameworks"
cd Frameworks
./build_frameworks.sh || exit 1
cd ..

echo "Building OSX HelloWorld"
xcodebuild -project Examples/OSX/HelloWorld/HelloWorld.xcodeproj -scheme HelloWorld clean build  | xcpretty -c || exit 4

echo "Building iOS HelloWorld"
xcodebuild -project Examples/iOS/HelloWorld/HelloWorld.xcodeproj  -scheme HelloWorld ONLY_ACTIVE_ARCH=NO clean build | xcpretty -c || exit 5

echo "tvOS HelloWorld not built in this test due to code signing issues"
# xcodebuild -project Examples/tvOS/HelloWorld/HelloWorld.xcodeproj -scheme HelloWorld ONLY_ACTIVE_ARCH=NO clean build | xcpretty -c || exit 6

echo "Building AudioKitParticles"
xcodebuild -project Examples/iOS/AudioKitParticles/AudioKitParticles.xcodeproj -scheme AudioKitParticles ONLY_ACTIVE_ARCH=NO clean build | xcpretty -c || exit 7

{'fraction_non_alphanumeric': 0.09275793650793651, 'fraction_numerical': 0.006944444444444444, 'mean_word_length': 4.602777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4689813', 'n_tokens_mistral': 692, 'n_tokens_neox': 657, 'n_words': 212}