<commit_before>ifeq ($(origin VERSION), undefined)
	VERSION != git rev-parse --short HEAD
endif
GOOS=$(shell go env GOOS)
GOARCH=$(shell go env GOARCH)
REPOPATH = github.com/coreos/torus

build: vendor
	go build -o bin/torusd -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusd
	go build -o bin/torusctl -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusctl
	go build -o bin/torusblk -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusblk

test: bin/glide
	go test --race $(shell ./bin/glide novendor)

vet: bin/glide
	go vet $(shell ./bin/glide novendor)

fmt: bin/glide
	go fmt $(shell ./bin/glide novendor)

run:
	./bin/torusd --etcd 127.0.0.1:2379 --debug --debug-init --peer-address http://127.0.0.1:40000

clean:
	rm -rf ./local-cluster ./bin/torus*

cleanall: clean
	rm -rf /tmp/etcd bin vendor
<commit_msg>build: Add verbose build<commit_after>ifeq ($(origin VERSION), undefined)
	VERSION != git rev-parse --short HEAD
endif
GOOS=$(shell go env GOOS)
GOARCH=$(shell go env GOARCH)
REPOPATH = github.com/coreos/torus

VERBOSE_1 := -v
VERBOSE_2 := -v -x

build: vendor
	go build $(VERBOSE_$(V)) -o bin/torusd -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusd
	go build $(VERBOSE_$(V)) -o bin/torusctl -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusctl
	go build $(VERBOSE_$(V)) -o bin/torusblk -ldflags "-X $(REPOPATH).Version=$(VERSION)" ./cmd/torusblk

test: bin/glide
	go test --race $(shell ./bin/glide novendor)

vet: bin/glide
	go vet $(shell ./bin/glide novendor)

fmt: bin/glide
	go fmt $(shell ./bin/glide novendor)

run:
	./bin/torusd --etcd 127.0.0.1:2379 --debug --debug-init --peer-address http://127.0.0.1:40000

clean:
	rm -rf ./local-cluster ./bin/torus*

cleanall: clean
	rm -rf /tmp/etcd bin vendor

{'fraction_non_alphanumeric': 0.17643710870802504, 'fraction_numerical': 0.02504268639726807, 'mean_word_length': 3.602094240837696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '5570668', 'n_tokens_mistral': 717, 'n_tokens_neox': 689, 'n_words': 187}