<commit_before>all: build install

VERSION=$(shell git rev-parse --abbrev-ref HEAD)

build:
	GO15VENDOREXPERIMENT=1 go build -v -ldflags "-X main.VersionString=$(VERSION)"

install:
	GO15VENDOREXPERIMENT=1 go install -ldflags "-X main.VersionString=$(VERSION)"
<commit_msg>Add static build<commit_after>all: build install

VERSION=$(shell git rev-parse --abbrev-ref HEAD)
BUILDARGS = -ldflags "-linkmode external -extldflags -static -X main.VersionString=$(VERSION)" -v

build:
	GO15VENDOREXPERIMENT=1 go build $(BUILDARGS)
install:
	GO15VENDOREXPERIMENT=1 go install $(BUILDARGS)

{'fraction_non_alphanumeric': 0.12220309810671257, 'fraction_numerical': 0.020654044750430294, 'mean_word_length': 5.847058823529411, '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': '2176704', 'n_tokens_mistral': 210, 'n_tokens_neox': 197, 'n_words': 52}