<commit_before>#!/bin/sh

log () {
    echo "$ $1"
    echo `$1`
}

ROSWELL_TARBALL_PATH=$HOME/roswell.tar.gz
ROSWELL_DIR=$HOME/roswell
ROSWELL_BRANCH=${ROSWELL_BRANCH:-release}

echo "Installing Roswell..."

curl --no-progress-bar --retry 10 -o $ROSWELL_TARBALL_PATH -L https://github.com/snmsts/roswell/archive/$ROSWELL_BRANCH.tar.gz
mkdir $ROSWELL_DIR
tar -C $ROSWELL_DIR --strip-components 1 -xf $ROSWELL_TARBALL_PATH
cd $ROSWELL_DIR
sh bootstrap
./configure
make
sudo make install

echo "Roswell has been installed."
log "ros --version"

case "$LISP" in
    ccl)
        echo "Installing Clozure CL..."
        ros install ccl-bin
        ;;
    sbcl|*)<commit_msg>Allow to use my fork of Roswell on CI services.<commit_after>#!/bin/sh

log () {
    echo "$ $1"
    echo `$1`
}

ROSWELL_TARBALL_PATH=$HOME/roswell.tar.gz
ROSWELL_DIR=$HOME/roswell
ROSWELL_REPO=${ROSWELL_REPO:-https://github.com/snmsts/roswell}
ROSWELL_BRANCH=${ROSWELL_BRANCH:-release}

echo "Installing Roswell..."

curl --no-progress-bar --retry 10 -o $ROSWELL_TARBALL_PATH -L $ROSWELL_REPO/archive/$ROSWELL_BRANCH.tar.gz
mkdir $ROSWELL_DIR
tar -C $ROSWELL_DIR --strip-components 1 -xf $ROSWELL_TARBALL_PATH
cd $ROSWELL_DIR
sh bootstrap
./configure
make
sudo make install

echo "Roswell has been installed."
log "ros --version"

case "$LISP" in
    ccl)
        echo "Installing Clozure CL..."
        ros install ccl-bin
        ;;
    sbcl|*)
{'fraction_non_alphanumeric': 0.1325811001410437, 'fraction_numerical': 0.007052186177715092, 'mean_word_length': 3.562700964630225, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2068445', 'n_tokens_mistral': 583, 'n_tokens_neox': 563, 'n_words': 125}