<commit_before>#!/bin/bash

WORK_DIR=brew_work
mkdir -p ${WORK_DIR}

TEMPLATE_PATH=yeoman-generator-skinny/app/templates
cp -p ${TEMPLATE_PATH}/skinny ${WORK_DIR}/.
cp -p ${TEMPLATE_PATH}/sbt ${WORK_DIR}/.
cp -p ${TEMPLATE_PATH}/sbt-debug ${WORK_DIR}/.
chmod +x ${WORK_DIR}/*
cp -pr ${TEMPLATE_PATH}/bin ${WORK_DIR}/.

VERSION=`grep "val _version =" project/Build.scala | awk -F'"' '{print $2}'`

cd ${WORK_DIR}
tar cvfzp skinny-${VERSION}.tar.gz .
mv skinny-${VERSION}.tar.gz ../.
cd -
rm -rf ${WORK_DIR}
openssl sha1 skinny-${VERSION}.tar.gz
<commit_msg>Specify a different directory from archiving one<commit_after>#!/bin/bash

WORK_DIR=brew_work
mkdir -p ${WORK_DIR}

TEMPLATE_PATH=yeoman-generator-skinny/app/templates
cp -p ${TEMPLATE_PATH}/skinny ${WORK_DIR}/.
cp -p ${TEMPLATE_PATH}/sbt ${WORK_DIR}/.
cp -p ${TEMPLATE_PATH}/sbt-debug ${WORK_DIR}/.
chmod +x ${WORK_DIR}/*
cp -pr ${TEMPLATE_PATH}/bin ${WORK_DIR}/.

VERSION=`grep "val _version =" project/Build.scala | awk -F'"' '{print $2}'`

cd ${WORK_DIR}
tar cvfzp ../skinny-${VERSION}.tar.gz .
cd -
rm -rf ${WORK_DIR}
openssl sha1 skinny-${VERSION}.tar.gz

{'fraction_non_alphanumeric': 0.19606087735004477, 'fraction_numerical': 0.0035810205908683975, 'mean_word_length': 4.59, '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': '7557818', 'n_tokens_mistral': 471, 'n_tokens_neox': 452, 'n_words': 98}