<commit_before><commit_msg>release script<commit_after>#!/bin/sh

mvn clean install -o -DskipTests
pushd applications/search
mvn clean install -DskipTests -Pjar
popd
# only then (else can't find type ex. PcuModelConfiguration.class in connector jar)
pushd features/connector
mvn clean install -DskipTests -Pjar
popd

rm -rf pcu-entreprise-search-beta
cp -rf applications/search/dist pcu-entreprise-search-beta
pushd pcu-entreprise-search-beta
cp -rf ../features/connector/target/*jar .
cp -rf ../features/connector/src/main/resources/*conf .
cp -rf ../features/connector/src/main/resources/*groovy .
cp -rf ../features/connector/src/main/resources/*yml .
cp -rf ../features/connector/src/main/resources/bootstrap .
cp -rf ../applications/search/target/*jar .
cp -rf ../applications/search/src/main/resources/*conf .
cp -rf ../applications/search/src/main/resources/*groovy .
cp -rf ../applications/search/src/main/resources/*yml .
cp -rf ../applications/search/src/main/resources/*properties .
cp -rf ../../../elasticsearch-5.5.1 .
rm -rf elasticsearch-5.5.1/data*
rm -rf pcu_store/
#find . -name "*.log" -exec rm {} \;
tar cfz ../pcu-entreprise-search-beta_20171206.tar.gz ../pcu-entreprise-search-beta
popd
{'fraction_non_alphanumeric': 0.15728476821192053, 'fraction_numerical': 0.011589403973509934, 'mean_word_length': 3.477777777777778, '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': '6489619', 'n_tokens_mistral': 424, 'n_tokens_neox': 399, 'n_words': 92}