<commit_before>VERSION=$(shell git describe)

.PHONY: build arm

build:
	go build -ldflags "-X main.version=$(VERSION)"

arm:
	GOOS=linux GOARCH=arm go build -ldflags "-X main.version=$(VERSION)"<commit_msg>fix: rename arm build target to vv-linux-arm<commit_after>VERSION=$(shell git describe)
TARGETS = linux-amd64 linux-arm darwin-amd64
BINARIES = $(patsubst %, vv-%, $(TARGETS))

.PHONY: build all $(BINARIES)

build:
	go build -ldflags "-X main.version=$(VERSION)"

all: $(BINARIES)

$(BINARIES):
	GOOS=`echo "$@" | cut -d - -f 2` GOARCH=`echo "$@" | cut -d - -f 3` go build -ldflags "-X main.version=$(VERSION)" -o $@

clean:
	rm -f $(BINARIES)
{'fraction_non_alphanumeric': 0.18307692307692308, 'fraction_numerical': 0.009230769230769232, 'mean_word_length': 4.425, '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': '27368', 'n_tokens_mistral': 254, 'n_tokens_neox': 242, 'n_words': 69}