<commit_before>#!/usr/bin/env bash

set -e

if [ "$0" != "./build.sh" ]; then
  echo "build.sh should be run from within the tile directory"
  exit 1
fi

echo "building go binary"
pushd ..
curdir=`pwd`
go get github.com/cloudfoundry-community/splunk-firehose-nozzle
cd $GOPATH/src/github.com/cloudfoundry-community/splunk-firehose-nozzle && git checkout develop && env GOOS=linux GOARCH=amd64 make build VERSION=1.0
cp $GOPATH/src/github.com/cloudfoundry-community/splunk-firehose-nozzle/splunk-firehose-nozzle ${curdir}/../splunk-firehose-nozzle/
cd ${curdir}
popd

echo "building tile"
tile build<commit_msg>updated build script to checkout master branch<commit_after>#!/usr/bin/env bash

set -e

if [ "$0" != "./build.sh" ]; then
  echo "build.sh should be run from within the tile directory"
  exit 1
fi

echo "building go binary"
pushd ..
curdir=`pwd`
go get github.com/cloudfoundry-community/splunk-firehose-nozzle
cd $GOPATH/src/github.com/cloudfoundry-community/splunk-firehose-nozzle && git checkout master && env GOOS=linux GOARCH=amd64 make build VERSION=1.0
cp $GOPATH/src/github.com/cloudfoundry-community/splunk-firehose-nozzle/splunk-firehose-nozzle ${curdir}/../splunk-firehose-nozzle/
cd ${curdir}
popd

echo "building tile"
tile build
{'fraction_non_alphanumeric': 0.13099041533546327, 'fraction_numerical': 0.009584664536741214, 'mean_word_length': 4.618834080717488, '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': '2041570', 'n_tokens_mistral': 482, 'n_tokens_neox': 452, 'n_words': 109}