<commit_before>#!/bin/sh
./runTests.sh
if [ $? = 0 ]
then
	echo "Build package"

	BIN_DIR="bin"
	TMP_DIR=$BIN_DIR"/tmp"

	ES="Entitas"
	CG=$ES".CodeGenerator"
	ESU=$ES".Unity"
	UCG=$ESU".CodeGenerator"
	UVD=$ESU".VisualDebugging"
	MIG=$ES."Migration"

	echo "  Clean bin"
	rm -rf $BIN_DIR

	echo "  Create folder structure"
	mkdir $BIN_DIR
	mkdir $TMP_DIR

	echo "  Copy sources to temp"
	cp -r {$ES"/"$ES,$CG"/"$CG,$ESU"/Assets/"$ESU,$UCG"/Assets/"$UCG,$UVD"/Assets/"$UVD} $TMP_DIR
	cp $MIG"/bin/Release/Entitas.Migration.exe" ${TMP_DIR}"/MigrationAssistant.exe"
	cp RELEASE_NOTES.md ${TMP_DIR}/RELEASE_NOTES.md
	cp README.md ${TMP_DIR}/README.md

	echo "  Remove ignored files"
	find "./"$TMP_DIR -name "*.meta" -type f -delete
	find "./"$TMP_DIR -name "*.DS_Store" -type f -delete

	echo "  Create zip archive"
	cd $TMP_DIR
	zip -rq ../Entitas.zip ./
	cd -

	echo "  Copy temp to bin"
	cp -r $TMP_DIR"/." $BIN_DIR

	echo "  Delete temp"
	rm -rf $TMP_DIR

	echo "Done."
else
	echo "ERROR: Tests didn't pass!"
	exit 1
fi<commit_msg>buildPackage.sh includes EntitasUpgradeGuide.md in Entitas.zip<commit_after>#!/bin/sh
./runTests.sh
if [ $? = 0 ]
then
	echo "Build package"

	BIN_DIR="bin"
	TMP_DIR=$BIN_DIR"/tmp"

	ES="Entitas"
	CG=$ES".CodeGenerator"
	ESU=$ES".Unity"
	UCG=$ESU".CodeGenerator"
	UVD=$ESU".VisualDebugging"
	MIG=$ES."Migration"

	echo "  Clean bin"
	rm -rf $BIN_DIR

	echo "  Create folder structure"
	mkdir $BIN_DIR
	mkdir $TMP_DIR

	echo "  Copy sources to temp"
	cp -r {$ES"/"$ES,$CG"/"$CG,$ESU"/Assets/"$ESU,$UCG"/Assets/"$UCG,$UVD"/Assets/"$UVD} $TMP_DIR
	cp $MIG"/bin/Release/Entitas.Migration.exe" ${TMP_DIR}"/MigrationAssistant.exe"
	cp README.md ${TMP_DIR}/README.md
	cp RELEASE_NOTES.md ${TMP_DIR}/RELEASE_NOTES.md
	cp EntitasUpgradeGuide.md ${TMP_DIR}/EntitasUpgradeGuide.md
	
	echo "  Remove ignored files"
	find "./"$TMP_DIR -name "*.meta" -type f -delete
	find "./"$TMP_DIR -name "*.DS_Store" -type f -delete

	echo "  Create zip archive"
	cd $TMP_DIR
	zip -rq ../Entitas.zip ./
	cd -

	echo "  Copy temp to bin"
	cp -r $TMP_DIR"/." $BIN_DIR

	echo "  Delete temp"
	rm -rf $TMP_DIR

	echo "Done."
else
	echo "ERROR: Tests didn't pass!"
	exit 1
fi
{'fraction_non_alphanumeric': 0.1731740927882407, 'fraction_numerical': 0.0018373909049150207, 'mean_word_length': 3.7142857142857144, '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': '4961284', 'n_tokens_mistral': 959, 'n_tokens_neox': 925, 'n_words': 210}