<commit_before>#!/usr/bin/env bash
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
VERSION=${1-"0.1.0"}

cd $BASEDIR

cp $BASEDIR/electron/package.prod.json $BASEDIR/dist/package.json
cp $BASEDIR/electron/dist/main.prod.js $BASEDIR/dist/main.js
cp -r $BASEDIR/electron/dist/src $BASEDIR/dist/
cp -r $BASEDIR/electron/node_modules $BASEDIR/dist/

$BASEDIR/node_modules/.bin/electron-packager $BASEDIR/dist "rabix-composer" --overwrite --out build --icon $BASEDIR/electron/rabix-icon.icns --build-version $VERSION
<commit_msg>fix(build): add default date build version<commit_after>#!/usr/bin/env bash
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" && pwd )"
VERSION=${1-"$(date +"%y%m%d")"}

cd $BASEDIR

cp $BASEDIR/electron/package.prod.json $BASEDIR/dist/package.json
cp $BASEDIR/electron/dist/main.prod.js $BASEDIR/dist/main.js
cp -r $BASEDIR/electron/dist/src $BASEDIR/dist/
cp -r $BASEDIR/electron/node_modules $BASEDIR/dist/

$BASEDIR/node_modules/.bin/electron-packager $BASEDIR/dist "rabix-composer" --overwrite --out build --icon $BASEDIR/electron/rabix-icon.icns --build-version $VERSION

{'fraction_non_alphanumeric': 0.19090098126672614, 'fraction_numerical': 0.006244424620874219, 'mean_word_length': 4.63819095477387, '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': '1042998', 'n_tokens_mistral': 436, 'n_tokens_neox': 438, 'n_words': 74}