<commit_before>#!/bin/bash

set -e

if [ -d dist ]; then
    rm -rf dist/*
fi



mvn assembly:assembly


version=$( git tag | sort -r | head -n 1 )

bin=${version}-bin
src=${version}-src

mkdir -p dist/$bin
mkdir -p dist/$src

echo New dist is $version
cp target/galen-jar-with-dependencies.jar dist/$bin/galen.jar
cp LICENSE-2.0.txt dist/$bin/.
cp README dist/$bin/.

cp LICENSE-2.0.txt dist/$src/.
cp README dist/$src/.
cp -r src dist/$src/src


cd dist

zip -r -9 $bin.zip $bin
zip -r -9 $src.zip $src<commit_msg>Adding galen script to bin dist<commit_after>#!/bin/bash

set -e

if [ -d dist ]; then
    rm -rf dist/*
fi



mvn assembly:assembly


version=$( git tag | sort -r | head -n 1 )

bin=${version}-bin
src=${version}-src

mkdir -p dist/$bin
mkdir -p dist/$src

echo New dist is $version
cp target/galen-jar-with-dependencies.jar dist/$bin/galen.jar
cp galen dist/$bin/.
cp LICENSE-2.0.txt dist/$bin/.
cp README dist/$bin/.

cp LICENSE-2.0.txt dist/$src/.
cp README dist/$src/.
cp -r src dist/$src/src


cd dist

zip -r -9 $bin.zip $bin
zip -r -9 $src.zip $src
{'fraction_non_alphanumeric': 0.16433239962651727, 'fraction_numerical': 0.013071895424836602, 'mean_word_length': 2.7746478873239435, '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': '6144885', 'n_tokens_mistral': 434, 'n_tokens_neox': 412, 'n_words': 137}