<commit_before>pushd $(dirname $0)
echo =====CLEARING OLD MONO BITS=====

if [ -d mono ]
then
  rm -rf mono
fi

if [ -d hostbuild ]
then
  rm -rf hostbuild
fi

MONO_SVN_BASE=svn://anonsvn.mono-project.com/source/branches/mono-2-6
MONO_SVN_REVISION=147505

echo
echo =====CHECKING OUT MONO AND MCS=====
svn co -r $MONO_SVN_REVISION $MONO_SVN_BASE/mono
mkdir -p hostbuild
cp -r mono hostbuild/mono
pushd hostbuild
svn co -r $MONO_SVN_REVISION $MONO_SVN_BASE/mcs

pushd mono/eglib
echo
echo =====COMPILING MONO CLASS LIBRARIES=====
sleep 2
./autogen.sh
popd
cd mono
./autogen.sh --with-glib=embedded --with-moonlight=no
make
popd


cd mono
echo
echo =====APPLYING ANDROID PATCHES=====
patch -p0 -i ../mono.patch

popd<commit_msg>denote what is being patched... host or target build.<commit_after>pushd $(dirname $0)
echo =====CLEARING OLD MONO BITS=====

if [ -d mono ]
then
  rm -rf mono
fi

if [ -d hostbuild ]
then
  rm -rf hostbuild
fi

MONO_SVN_BASE=svn://anonsvn.mono-project.com/source/branches/mono-2-6
MONO_SVN_REVISION=147505

echo
echo =====CHECKING OUT MONO AND MCS=====
svn co -r $MONO_SVN_REVISION $MONO_SVN_BASE/mono
mkdir -p hostbuild
cp -r mono hostbuild/mono
pushd hostbuild
svn co -r $MONO_SVN_REVISION $MONO_SVN_BASE/mcs

pushd mono/eglib
echo
echo =====COMPILING MONO CLASS LIBRARIES FOR HOST BUILD=====
sleep 2
./autogen.sh
popd
cd mono
./autogen.sh --with-glib=embedded --with-moonlight=no
make
popd


cd mono
echo
echo =====APPLYING ANDROID PATCHES FOR TARGET BUILD=====
patch -p0 -i ../mono.patch

popd
{'fraction_non_alphanumeric': 0.13385826771653545, 'fraction_numerical': 0.014435695538057743, 'mean_word_length': 4.169491525423729, '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': '6556376', 'n_tokens_mistral': 686, 'n_tokens_neox': 637, 'n_words': 179}