<commit_before>#!/bin/bash
FORMULA="$1"

if [[ -z "$FORMULA" ]]; then
    echo "Usage: $0 <formula>"
    exit -1
fi

brew=bin/brew
if [[ ! -f $brew ]]; then
	git clone https://github.com/Homebrew/homebrew.git .
fi

echo "Building $FORMULA at" $(date)
# Remove the formula if it exists
$brew rm $FORMULA 2>/dev/null

# Update our caches!
$brew update

# Install dependencies first as bottles when possible
deps=$($brew deps -n $1)
for dep in $deps; do
	base=$(basename $dep)
	# Check to see if this depdency can be installed via bottle
	if [[ ! -z $($brew info $dep | grep bottled) ]]; then
		# If so, install it!
		$brew install -v $dep
	else
		# Otherwise, build it with --build-bottle<commit_msg>More updates to build_bottle<commit_after>#!/bin/bash
FORMULA="$1"

if [[ -z "$FORMULA" ]]; then
    echo "Usage: $0 <formula>"
    exit -1
fi

echo "Building $FORMULA at" $(date)

brew=homebrew/bin/brew
if [[ ! -f $brew ]]; then
	git clone https://github.com/Homebrew/homebrew.git homebrew
	$brew tap staticfloat/julia
	$brew tap staticfloat/juliadeps
fi

# Update our caches!
$brew update

# Remove the formula if it exists
$brew rm $FORMULA 2>/dev/null


# Install dependencies first as bottles when possible
deps=$($brew deps -n $1)
for dep in $deps; do
	base=$(basename $dep)
	# Check to see if this depdency can be installed via bottle
	if [[ ! -z $($brew info $dep | grep bottled) ]]; then
		# If so, install it!
		$brew install -v $dep
	else
		# Otherwise, build it with --build-bottle
{'fraction_non_alphanumeric': 0.13682092555331993, 'fraction_numerical': 0.00670690811535882, 'mean_word_length': 3.6335403726708075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5866378', 'n_tokens_mistral': 555, 'n_tokens_neox': 535, 'n_words': 195}