<commit_before>#!/bin/bash

# Build and package the SDK for iOS
# Assumes that you are in the SDK/iOS directory

LIPO=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo
SDKBUILDDIR=`pwd`

set IPHONEOS_DEPLOYMENT_TARGET 4.0

# Clean up files from previous builds
echo Cleaning previous builds...
if [ "$1" = "clean" ];then
	rm -rf $SDKBUILDDIR/build
fi
rm -rf $SDKBUILDDIR/sdk_contents 

# Configure with CMake
mkdir -p $SDKBUILDDIR/build
pushd $SDKBUILDDIR/build
cmake -DOGRE_BUILD_PLATFORM_APPLE_IOS:BOOL=TRUE -DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=TRUE -DOGRE_INSTALL_DOCS:BOOL=TRUE -G Xcode ../../..

# Read version number
OGRE_VERSION=`cat version.txt`<commit_msg>iOS build script update for Xcode 4.3<commit_after>#!/bin/bash

# Build and package the SDK for iOS
# Assumes that you are in the SDK/iOS directory

LIPO=lipo
SDKBUILDDIR=`pwd`

set IPHONEOS_DEPLOYMENT_TARGET 4.0

# Clean up files from previous builds
echo Cleaning previous builds...
if [ "$1" = "clean" ];then
	rm -rf $SDKBUILDDIR/build
fi
rm -rf $SDKBUILDDIR/sdk_contents 

# Configure with CMake
mkdir -p $SDKBUILDDIR/build
pushd $SDKBUILDDIR/build
cmake -DOGRE_BUILD_PLATFORM_APPLE_IOS:BOOL=TRUE -DOGRE_INSTALL_SAMPLES_SOURCE:BOOL=TRUE -DOGRE_INSTALL_DOCS:BOOL=TRUE -G Xcode ../../..

# Read version number
OGRE_VERSION=`cat version.txt`
{'fraction_non_alphanumeric': 0.10250569476082004, 'fraction_numerical': 0.006074411541381929, 'mean_word_length': 4.936936936936937, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3665994', 'n_tokens_mistral': 520, 'n_tokens_neox': 493, 'n_words': 127}