<commit_before># This script takes care of building your crate and packaging it for release

set -ex

main() {
    local src=$(pwd) \
          stage=

    case $TRAVIS_OS_NAME in
        linux)
            stage=$(mktemp -d)
            ;;
        osx)
            stage=$(mktemp -d -t tmp)
            ;;
    esac

    test -f Cargo.lock || cargo generate-lockfile

    # TODO Update this to build the artifacts that matter to you
    cargo build --release 

    # TODO Update this to package the right artifacts
    cp target/release/cargo-tarpaulin $stage/

    cd $stage
    tar czf $src/$CRATE_NAME-$TRAVIS_TAG-travis.tar.gz *
    cd $src

    rm -rf $stage
}

main<commit_msg>Removed TODOs<commit_after># This script takes care of building your crate and packaging it for release

set -ex

main() {
    local src=$(pwd) \
          stage=

    case $TRAVIS_OS_NAME in
        linux)
            stage=$(mktemp -d)
            ;;
        osx)
            stage=$(mktemp -d -t tmp)
            ;;
    esac

    test -f Cargo.lock || cargo generate-lockfile

    cargo build --release 

    cp target/release/cargo-tarpaulin $stage/

    cd $stage
    tar czf $src/$CRATE_NAME-$TRAVIS_TAG-travis.tar.gz *
    cd $src

    rm -rf $stage
}

main
{'fraction_non_alphanumeric': 0.0946271050521251, 'fraction_numerical': 0.0, 'mean_word_length': 1.8428246013667426, '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': '2181227', 'n_tokens_mistral': 421, 'n_tokens_neox': 396, 'n_words': 127}