<commit_before>#!/usr/bin/env make -f

VERSION := $(shell cat config.go  | grep VERSION | head -n1 | cut -d \" -f 2)

tempdir        := $(shell mktemp -d)
controldir     := $(tempdir)/DEBIAN
installpath    := $(tempdir)/usr/bin
buildpath      := .build
buildpackcache := $(buildpath)/cache

define DEB_CONTROL
Package: shh
Version: $(VERSION)
Architecture: amd64
Maintainer: "<NAME>" <<EMAIL>>
Section: heroku
Priority: optional
Description: Systems statistics to formatted log lines
endef
export DEB_CONTROL

deb: bin/shh bin/shh-value
	echo "making deb"
	mkdir -p -m 0755 $(controldir)
	echo "$$DEB_CONTROL" > $(controldir)/control
	mkdir -p $(installpath)
	install bin/shh $(installpath)/shh
	install bin/shh-value $(installpath)/shh-value
	fakeroot dpkg-deb --build $(tempdir) .
	rm -rf $(tempdir)

clean:
	rm -rf $(buildpath)
	rm -f shh*.deb

bin/shh:
	git clone git://github.com/kr/heroku-buildpack-go.git $(buildpath)
	$(buildpath)/bin/compile . $(buildpackcache)

bin/shh-value: 
	git clone git://github.com/kr/heroku-buildpack-go.git $(buildpath)
	$(buildpath)/bin/compile . $(buildpackcache)<commit_msg>Force bzip2 for dpkg compression technique<commit_after>#!/usr/bin/env make -f

VERSION := $(shell cat config.go  | grep VERSION | head -n1 | cut -d \" -f 2)

tempdir        := $(shell mktemp -d)
controldir     := $(tempdir)/DEBIAN
installpath    := $(tempdir)/usr/bin
buildpath      := .build
buildpackcache := $(buildpath)/cache

define DEB_CONTROL
Package: shh
Version: $(VERSION)
Architecture: amd64
Maintainer: "<NAME>" <<EMAIL>>
Section: heroku
Priority: optional
Description: Systems statistics to formatted log lines
endef
export DEB_CONTROL

deb: bin/shh bin/shh-value
	echo "making deb"
	mkdir -p -m 0755 $(controldir)
	echo "$$DEB_CONTROL" > $(controldir)/control
	mkdir -p $(installpath)
	install bin/shh $(installpath)/shh
	install bin/shh-value $(installpath)/shh-value
	fakeroot dpkg-deb -Z bzip2 --build $(tempdir) .
	rm -rf $(tempdir)

clean:
	rm -rf $(buildpath)
	rm -f shh*.deb

bin/shh:
	git clone git://github.com/kr/heroku-buildpack-go.git $(buildpath)
	$(buildpath)/bin/compile . $(buildpackcache)

bin/shh-value: 
	git clone git://github.com/kr/heroku-buildpack-go.git $(buildpath)
	$(buildpath)/bin/compile . $(buildpackcache)
{'fraction_non_alphanumeric': 0.1515017667844523, 'fraction_numerical': 0.007950530035335688, 'mean_word_length': 4.067114093959732, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '1574221', 'n_tokens_mistral': 852, 'n_tokens_neox': 814, 'n_words': 212}