<commit_before>#!/bin/bash

/home/travis/build/solvillan/elektronswer/Elektronswer-linux-ia32
/home/travis/build/solvillan/elektronswer/Elektronswer-win32-ia32
/home/travis/build/solvillan/elektronswer/Elektronswer-darwin-x64
/home/travis/build/solvillan/elektronswer/Elektronswer-linux-x64
/home/travis/build/solvillan/elektronswer/Elektronswer-win32-x64

#Remove bogus license
rm /home/travis/build/solvillan/elektronswer/Elektronswer-*/LICENSE

## Linux
echo "Packing linux"
#64Bit
tar -zcvf elektronswer-linux64.tar.gz Elektronswer-linux-x64
#32Bit
tar -zcvf elektronswer-linux32.tar.gz ../Elektronswer-linux-ia32

## Windows
echo "Packing windows"
#64Bit
zip -r elektronswer-win64.zip ../Elektronswer-win32-x64
#32Bit
zip -r elektronswer-win32.zip ../Elektronswer-win32-ia32

echo "Packing mac"
## Mac
#64Bit
zip -r elektronswer-mac64.zip ../Elektronswer-darwin-x64

echo "Fixing permissions"
chmod a+r elektronswer-*

echo "Starting upload"
ftp -n $FTP_SERVER <<End-Of-Session
# -n option disables auto-logon

user $FTP_USER "$FTP_PASS"
binary
cd /srv/http/
put "elektronswer-linux64.tar.gz"
put "elektronswer-linux32.tar.gz"
put "elektronswer-win64.zip"
put "elektronswer-win32.zip"
put "elektronswer-mac64.zip"
bye
End-Of-Session

echo "Done deploying!"
<commit_msg>I'm just too tired, forgot to actually save the file...<commit_after>#!/bin/bash

#Remove bogus license
rm /home/travis/build/solvillan/elektronswer/Elektronswer-*/LICENSE

## Linux
echo "Packing linux"
#64Bit
tar -zcvf elektronswer-linux64.tar.gz /home/travis/build/solvillan/elektronswer/Elektronswer-linux-x64
#32Bit
tar -zcvf elektronswer-linux32.tar.gz /home/travis/build/solvillan/elektronswer/Elektronswer-linux-ia32

## Windows
echo "Packing windows"
#64Bit
zip -r elektronswer-win64.zip /home/travis/build/solvillan/elektronswer/Elektronswer-win32-x64
#32Bit
zip -r elektronswer-win32.zip /home/travis/build/solvillan/elektronswer/Elektronswer-win32-ia32

echo "Packing mac"
## Mac
#64Bit
zip -r elektronswer-mac64.zip /home/travis/build/solvillan/elektronswer/Elektronswer-darwin-x64

echo "Fixing permissions"
chmod a+r elektronswer-*

echo "Starting upload"
ftp -n $FTP_SERVER <<End-Of-Session
user $FTP_USER "$FTP_PASS"
binary
cd /srv/http/
put "elektronswer-linux64.tar.gz"
put "elektronswer-linux32.tar.gz"
put "elektronswer-win64.zip"
put "elektronswer-win32.zip"
put "elektronswer-mac64.zip"
bye
End-Of-Session

echo "Done deploying!"

{'fraction_non_alphanumeric': 0.1261335531739489, 'fraction_numerical': 0.04204451772464963, 'mean_word_length': 5.082706766917293, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2924267', 'n_tokens_mistral': 1089, 'n_tokens_neox': 1053, 'n_words': 172}