<commit_before># Makefile for installing GrowlMail
#
# - Build GrowlMail
# - Possibly move old GrowlMail to teh Trash
# - Install new GrowlMail
# - Enable the plugin in Mail.
# - Relaunch Mail.

name = GrowlMail
builddir = build
datadir = $(HOME)/Library/Mail/Bundles

CP = /usr/bin/ditto -v --rsrc

# The build style
# Possible values are Development and Deployment
BUILDSTYLE = Deployment

.PHONY: all $(name) clean install uninstall

install uninstall: should_restart_mail := $(shell killall -s Mail 2>/dev/null)

stopmail = $(if $(should_restart_mail),osascript -l AppleScript -e 'quit application "Mail"')

startmail = $(if $(should_restart_mail),open -a Mail)

all: $(name)

$(name):
	xcodebuild -buildstyle $(BUILDSTYLE) build "SYMROOT=$(builddir)" "OBJROOT=$(builddir)"
<commit_msg>Allow build style to be overridden by an environment variable<commit_after># Makefile for installing GrowlMail
#
# - Build GrowlMail
# - Possibly move old GrowlMail to teh Trash
# - Install new GrowlMail
# - Enable the plugin in Mail.
# - Relaunch Mail.

name = GrowlMail
builddir = build
datadir = $(HOME)/Library/Mail/Bundles

CP = /usr/bin/ditto -v --rsrc

# The build style
# Possible values are Development and Deployment
BUILDSTYLE? = Deployment

.PHONY: all $(name) clean install uninstall

install uninstall: should_restart_mail := $(shell killall -s Mail 2>/dev/null)

stopmail = $(if $(should_restart_mail),osascript -l AppleScript -e 'quit application "Mail"')

startmail = $(if $(should_restart_mail),open -a Mail)

all: $(name)

$(name):
	xcodebuild -buildstyle $(BUILDSTYLE) build "SYMROOT=$(builddir)" "OBJROOT=$(builddir)"

{'fraction_non_alphanumeric': 0.12093308778391651, 'fraction_numerical': 0.0012277470841006752, 'mean_word_length': 4.73943661971831, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3275068', 'n_tokens_mistral': 553, 'n_tokens_neox': 541, 'n_words': 173}