<commit_before>
PKGDIR=./pkg
BASENAME=magellan-proxy
VERSION=`grep Version version.go | cut -f2 -d\"`
OS=linux
ARCH=amd64

PKGNAME=${BASENAME}-${VERSION}-${OS}_${ARCH}.zip
PKGFILE=${PKGDIR}/${PKGNAME}

all: build

SRCS=http.go magellan-proxy.go message.go trmq.go version.go

build: ${SRCS}
	GOOS=${OS} GOARCH=${ARCH} gom build github.com/groovenauts/magellan-proxy
	- mkdir -p ${PKGDIR}
	- rm -f ${PKGFILE}
	zip ${PKGFILE} ${BASENAME}
	rm -f ${BASENAME}

release: build
	ghr -u groovenauts --replace --draft --prerelease ${VERSION} pkg

clean:
	rm -rf ${PKGDIR}
	rm -f ${BASENAME}<commit_msg>create .tar.gz package instead of .zip.<commit_after>
PKGDIR=./pkg
BASENAME=magellan-proxy
VERSION=`grep Version version.go | cut -f2 -d\"`
OS=linux
ARCH=amd64

PKGNAME=${BASENAME}-${VERSION}-${OS}_${ARCH}.tar.gz
PKGFILE=${PKGDIR}/${PKGNAME}

all: build

SRCS=http.go magellan-proxy.go message.go trmq.go version.go

build: ${SRCS}
	GOOS=${OS} GOARCH=${ARCH} gom build github.com/groovenauts/magellan-proxy
	- mkdir -p ${PKGDIR}
	- rm -f ${PKGFILE}
	tar zcf ${PKGFILE} ${BASENAME}
	rm -f ${BASENAME}

release: build
	ghr -u groovenauts --replace --draft ${VERSION} pkg

prerelease: build
	ghr -u groovenauts --replace --draft --prerelease ${VERSION} pkg


clean:
	rm -rf ${PKGDIR}
	rm -f ${BASENAME}
{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.0046439628482972135, 'mean_word_length': 4.320987654320987, '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': '2285484', 'n_tokens_mistral': 553, 'n_tokens_neox': 524, 'n_words': 126}