<commit_before>VERSION=$(shell git rev-parse --short HEAD)

# UTC time in ISO 8601
NOW=$(shell date -u +%Y-%m-%dT%H:%M)

all:
	go build -v -o coduno -ldflags "-X main.Version '${VERSION}' -X main.BuildTime '${NOW}' -X main.Build '${}'"<commit_msg>Improve Makefile<commit_after>VERSION=$(shell git rev-parse --short HEAD)

# UTC time in ISO 8601
NOW=$(shell date -u +%Y-%m-%dT%H:%M)

OUTPUT?='coduno'

all: test
	@go env
	@go version

	go build -work -x -v -o ${OUTPUT} \
		-ldflags "-X main.Version '${VERSION}' -X main.BuildTime '${NOW}'"

test:
	go test
{'fraction_non_alphanumeric': 0.1981981981981982, 'fraction_numerical': 0.014414414414414415, 'mean_word_length': 3.793103448275862, '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': '2152322', 'n_tokens_mistral': 232, 'n_tokens_neox': 216, 'n_words': 68}