<commit_before>PACKAGES = $(shell go list ./... | grep -v /vendor/)

build:
	glide install
	glide update
	go build

install:
	go install

test:
	go test -v $(shell go list ./... | grep -v /vendor/)

cover:
	echo "mode: count" > coverage-all.out
	$(foreach pkg,$(PACKAGES),\
		go test -coverprofile=coverage.out -covermode=count $(pkg);\
		tail -n +2 coverage.out >> coverage-all.out;)
	go tool cover -html=coverage-all.out

fmt:
	go fmt ./... 2>&1 | grep -v ^vendor<commit_msg>removed go build from Makefile<commit_after>PACKAGES = $(shell go list ./... | grep -v /vendor/)

build:
	glide install
	glide update

install:
	go install

test:
	go test -v $(shell go list ./... | grep -v /vendor/)

cover:
	echo "mode: count" > coverage-all.out
	$(foreach pkg,$(PACKAGES),\
		go test -coverprofile=coverage.out -covermode=count $(pkg);\
		tail -n +2 coverage.out >> coverage-all.out;)
	go tool cover -html=coverage-all.out

fmt:
	go fmt ./... 2>&1 | grep -v ^vendor
{'fraction_non_alphanumeric': 0.16857440166493237, 'fraction_numerical': 0.006243496357960458, 'mean_word_length': 3.042016806722689, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '1472874', 'n_tokens_mistral': 366, 'n_tokens_neox': 346, 'n_words': 111}