<commit_before>#!/bin/sh

set +x

cp_or_diff()
{
    src=$1
    dest=$2

    if [ ! -x "$dest" ]; then
        cp "$src" "$dest"
    else
        diff -ub "$src" "$dest"
    fi
}

cp_or_diff dot.emacs ~/.emacs
cp_or_diff ackrc ~/.ackrc

rsync -av --exclude '.git' emacs.d/ ~/.emacs.d/<commit_msg>update do install to make directories and build haskell mode.<commit_after>#!/bin/sh

set +x

cp_or_diff()
{
    src=$1
    dest=$2

    if [ ! -x "$dest" ]; then
        cp "$src" "$dest"
    else
        diff -ub "$src" "$dest"
    fi
}

cp_or_diff dot.emacs ~/.emacs
cp_or_diff ackrc ~/.ackrc

make -C emacs.d/site-lisp/haskell-mode all

rsync -av --exclude '.git' emacs.d/ ~/.emacs.d/

[ -d ~/.emacs.d/site-lisp/themes ] || mkdir ~/.emacs.d/site-lisp/themes
{'fraction_non_alphanumeric': 0.18494055482166447, 'fraction_numerical': 0.005284015852047556, 'mean_word_length': 2.2532188841201717, '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': '3894156', 'n_tokens_mistral': 335, 'n_tokens_neox': 324, 'n_words': 78}