<commit_before>GIT_VER := $(shell git describe --tags)
DATE := $(shell date +%Y-%m-%dT%H:%M:%S%z)

.PHONY: test local get-deps binary install clean

cmd/stretcher/stretcher: aws.go command.go consul.go manifest.go stretcher.go
	cd cmd/stretcher && go build -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}" -gcflags="-trimpath=${PWD}"

install: cmd/stretcher/stretcher
	install cmd/stretcher/stretcher ${GOPATH}/bin

test:
	go test

get-deps:
	go get -t -d -v .
	cd cmd/stretcher && go get -t -d -v .

packages:
	cd cmd/stretcher && gox -os="linux darwin" -arch="amd64" -output "../../pkg/{{.Dir}}-${GIT_VER}-{{.OS}}-{{.Arch}}" -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}" -gcflags="-trimpath=${PWD}"
	cd pkg && find . -name "*${GIT_VER}*" -type f -exec zip {}.zip {} \;

clean:
	rm -f cmd/stretcher/stretcher
	rm -f pkg/*
<commit_msg>fix Makefile<commit_after>GIT_VER := $(shell git describe --tags)
DATE := $(shell date +%Y-%m-%dT%H:%M:%S%z)

.PHONY: test local get-deps binary install clean

cmd/stretcher/stretcher: aws.go command.go consul.go manifest.go stretcher.go
	cd cmd/stretcher && go build -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}" -gcflags="-trimpath=${PWD}"

install: cmd/stretcher/stretcher
	install cmd/stretcher/stretcher ${GOPATH}/bin

test:
	go test

get-deps:
	go get -t -d -v .
	cd cmd/stretcher && go get -t -d -v .

packages:
	cd cmd/stretcher && gox -os="linux darwin" -arch="amd64 arm" -output "../../pkg/{{.Dir}}-${GIT_VER}-{{.OS}}-{{.Arch}}" -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}"
	cd pkg && find . -name "*${GIT_VER}*" -type f -exec zip {}.zip {} \;

clean:
	rm -f cmd/stretcher/stretcher
	rm -f pkg/*

{'fraction_non_alphanumeric': 0.20280537697253068, 'fraction_numerical': 0.0023378141437755697, 'mean_word_length': 3.5775401069518717, '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': '1280371', 'n_tokens_mistral': 674, 'n_tokens_neox': 689, 'n_words': 179}