<commit_before>
# do not specify a full path for go since travis will fail
GO = GOGC=off go
GOFLAGS = -tags netgo -ldflags "-X main.version=$(shell git describe --tags)"

build:
	$(GO) build -i $(GOFLAGS)

test:
	$(GO) test ./...

gofmt:
	gofmt -w `find . -type f -name '*.go' | grep -v vendor`<commit_msg>Run tests on travis<commit_after>
# do not specify a full path for go since travis will fail
GO = GOGC=off go
GOFLAGS = -tags netgo -ldflags "-X main.version=$(shell git describe --tags)"

all: build test

build:
	$(GO) build -i $(GOFLAGS)

test:
	$(GO) test -i ./...
	$(GO) test ./...

gofmt:
	gofmt -w `find . -type f -name '*.go' | grep -v vendor`
{'fraction_non_alphanumeric': 0.16463414634146342, 'fraction_numerical': 0.0, 'mean_word_length': 2.981818181818182, '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': '7257345', 'n_tokens_mistral': 249, 'n_tokens_neox': 246, 'n_words': 96}