<commit_before>
VERSION=0.7.2

outbox:
	mkdir -p $@

clean-outbox: outbox
	rm -f outbox/*

linux-vm:
	cd vagrant-static-linux && vagrant up

linux-build: linux-vm
	cd vagrant-static-linux && vagrant ssh -c /vagrant/build.sh

linux-package: clean-outbox linux-build
	mkdir -p linux-pkg/lnav-${VERSION}
	cp ../README ../NEWS linux-pkg/lnav-${VERSION}
	cp vagrant-static-linux/lnav linux-pkg/lnav-${VERSION}
	cd linux-pkg && zip -r ../outbox/lnav-${VERSION}-linux-64bit.zip lnav-${VERSION}

osx-build:
	rm -rf osx-build-dir
	mkdir -p osx-build-dir
	cd osx-build-dir && ../../configure && make -j && make distcheck -j8 && make dist-bzip2

osx-package: clean-outbox osx-build
	mkdir -p osx-pkg/lnav-${VERSION}
	cp ../README ../NEWS osx-pkg/lnav-${VERSION}<commit_msg>[build] Fix osx-package builds.<commit_after>
VERSION=0.7.2

outbox:
	mkdir -p $@

clean-outbox: outbox
	rm -f outbox/*

linux-vm:
	cd vagrant-static-linux && vagrant up

linux-build: linux-vm
	cd vagrant-static-linux && vagrant ssh -c /vagrant/build.sh

linux-package: clean-outbox linux-build
	mkdir -p linux-pkg/lnav-${VERSION}
	cp ../README ../NEWS linux-pkg/lnav-${VERSION}
	cp vagrant-static-linux/lnav linux-pkg/lnav-${VERSION}
	cd linux-pkg && zip -r ../outbox/lnav-${VERSION}-linux-64bit.zip lnav-${VERSION}

osx-build:
	rm -rf osx-build-dir
	mkdir -p osx-build-dir
	cd ../ && ./autogen.sh
	cd osx-build-dir && ../../configure && make -j && make distcheck -j8 && make dist-bzip2

osx-package: clean-outbox osx-build
	mkdir -p osx-pkg/lnav-${VERSION}
	cp ../README ../NEWS osx-pkg/lnav-${VERSION}
{'fraction_non_alphanumeric': 0.17752234993614305, 'fraction_numerical': 0.008939974457215836, 'mean_word_length': 3.156498673740053, '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': '6152957', 'n_tokens_mistral': 670, 'n_tokens_neox': 628, 'n_words': 142}