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

all: test
	go get github.com/fujiwara/fluent-agent-hydra/cmd/fluent-agent-hydra
	go get github.com/fujiwara/fluent-agent-hydra/cmd/in-forward-benchmarkd

.PHONY: test
test:
	cd hydra && go test

get-deps:
	go get -d -v ./fluent/ ./hydra/
	go get github.com/mattn/go-scan
	go get github.com/t-k/fluent-logger-golang/fluent

binary:
	cd cmd/fluent-agent-hydra && gox -os="linux darwin" -arch="amd64 i386" -output "../../pkg/{{.OS}}_{{.Arch}}/{{.Dir}}" -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}"<commit_msg>build win32<commit_after>GIT_VER := $(shell git describe --tags)
DATE := $(shell date +%Y-%m-%dT%H:%M:%S%z)

all: test
	go get github.com/fujiwara/fluent-agent-hydra/cmd/fluent-agent-hydra
	go get github.com/fujiwara/fluent-agent-hydra/cmd/in-forward-benchmarkd

.PHONY: test
test:
	cd hydra && go test

get-deps:
	go get -d -v ./fluent/ ./hydra/
	go get github.com/mattn/go-scan
	go get github.com/t-k/fluent-logger-golang/fluent

binary:
	cd cmd/fluent-agent-hydra && gox -os="linux darwin windows" -arch="amd64 386" -output "../../pkg/{{.OS}}_{{.Arch}}/{{.Dir}}" -ldflags "-X main.version ${GIT_VER} -X main.buildDate ${DATE}"
{'fraction_non_alphanumeric': 0.19952114924181963, 'fraction_numerical': 0.009577015163607342, 'mean_word_length': 3.6617100371747213, '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': '1125166', 'n_tokens_mistral': 557, 'n_tokens_neox': 522, 'n_words': 109}