<commit_before>#!/bin/bash

mono bin/Prebuild.exe /target vs2008 /targetframework v3_5

unset makebuild
unset makedist

while [ "$1" != "" ]; do
    case $1 in
	build )       makebuild=yes
                      ;;
	dist )        makedist=yes
                      ;;
    esac
    shift
done

if [ "$makebuild" = "yes" ]; then
    xbuild Aurora.sln
    res=$?

    if [ "$res" != "0" ]; then
	exit $res
    fi

    if [ "$makedist" = "yes" ]; then
	rm -f aurora-autobuild.tar.bz2
	tar cjf aurora-autobuild.tar.bz2 bin
    fi
fi<commit_msg>Updating the TeamCity build to include the new .version file<commit_after>#!/bin/bash

mono bin/Prebuild.exe /target vs2008 /targetframework v3_5

if [ -d ".git" ]; then git log --pretty=format:"Aurora (%cd.%h)" --date=short -n 1 > bin/.version; fi

unset makebuild
unset makedist

while [ "$1" != "" ]; do
    case $1 in
	build )       makebuild=yes
                      ;;
	dist )        makedist=yes
                      ;;
    esac
    shift
done

if [ "$makebuild" = "yes" ]; then
    xbuild Aurora.sln
    res=$?

    if [ "$res" != "0" ]; then
	exit $res
    fi

    if [ "$makedist" = "yes" ]; then
	rm -f aurora-autobuild.tar.bz2
	tar cjf aurora-autobuild.tar.bz2 bin
    fi
fi
{'fraction_non_alphanumeric': 0.1362153344208809, 'fraction_numerical': 0.018760195758564437, 'mean_word_length': 2.0073529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5766686', 'n_tokens_mistral': 483, 'n_tokens_neox': 449, 'n_words': 123}