<commit_before>#!/bin/bash

function build_info()
{
    $(dirname $0)/buildinfo.py $@ 2>/dev/null
}

TRAVIS_OS_NAME=linux
BUILDVARIANT=$1
DEPENDENCIES="$(build_info dependencies)"
DEPENDENCIES="$(echo $DEPENDENCIES | sed -e 's/ /%/g')"
MAKEFILE_DIR=$(build_info makefile_location)
SCRIPT_DIR=

[ -z $MAKEFILE_DIR ] && echo "No Makefile directory found" && exit 1

export TRAVIS_OS_NAME
export BUILDVARIANT
export DEPENDENCIES
export MAKEFILE_DIR

$(build_info script_location)/travis-build.sh<commit_msg> - Add parameter for Darwin in quick-build<commit_after>#!/bin/bash

function build_info()
{
    $(dirname $0)/buildinfo.py $@ 2>/dev/null
}

function get_travis_platform()
{
    osname=$(uname)
    case "$osname" in
    Linux)
        echo linux
    ;;
    Darwin)
        echo osx
    ;;
    esac
}

TRAVIS_OS_NAME=$(get_travis_platform)
BUILDVARIANT=$1
DEPENDENCIES="$(build_info dependencies)"
DEPENDENCIES="$(echo $DEPENDENCIES | sed -e 's/ /%/g')"
MAKEFILE_DIR=$(build_info makefile_location)
SCRIPT_DIR=

[ -z $MAKEFILE_DIR ] && echo "No Makefile directory found" && exit 1

export TRAVIS_OS_NAME
export BUILDVARIANT
export DEPENDENCIES
export MAKEFILE_DIR

$(build_info script_location)/travis-build.sh
{'fraction_non_alphanumeric': 0.128500823723229, 'fraction_numerical': 0.006589785831960461, 'mean_word_length': 4.841346153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4067629', 'n_tokens_mistral': 471, 'n_tokens_neox': 450, 'n_words': 94}