<commit_before>.PHONY: all clean coverage debug-install dependencies fmt install lint test tools

ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))

all: clean install test

clean:
	go clean -i ./...
	go clean -i -race ./...
coverage:
	go test -coverprofile=coverage.out
	go tool cover -html=coverage.out
crosscompile:
	gox -os="linux" ./...
debug-install: clean
	go install -race -v ./...
dependencies:
	go get -t -v ./...
	go build -v ./...
fmt:
	gofmt -l -w $(ROOT_DIR)/
install: clean
	go install -v ./...
lint: install
	go tool vet -all=true -v=true $(ROOT_DIR)/
	golint $(ROOT_DIR)/...
	errcheck github.com/zimmski/tavor/...
markdown:
	grip 5000
test:
	go test -race ./...
tools:
	go get -u code.google.com/p/go.tools/cmd/cover
	go get -u code.google.com/p/go.tools/cmd/godoc
	go get -u code.google.com/p/go.tools/cmd/vet
	go get -u github.com/golang/lint
	go install github.com/golang/lint/golint
	go get -u github.com/kisielk/errcheck<commit_msg>switch to the orange-cat for markdown preview<commit_after>.PHONY: all clean coverage debug-install dependencies fmt install lint test tools

ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))

all: clean install test

clean:
	go clean -i ./...
	go clean -i -race ./...
coverage:
	go test -coverprofile=coverage.out
	go tool cover -html=coverage.out
crosscompile:
	gox -os="linux" ./...
debug-install: clean
	go install -race -v ./...
dependencies:
	go get -t -v ./...
	go build -v ./...
fmt:
	gofmt -l -w $(ROOT_DIR)/
install: clean
	go install -v ./...
lint: install
	go tool vet -all=true -v=true $(ROOT_DIR)/
	golint $(ROOT_DIR)/...
	errcheck github.com/zimmski/tavor/...
markdown:
	orange
test:
	go test -race ./...
tools:
	go get -u code.google.com/p/go.tools/cmd/cover
	go get -u code.google.com/p/go.tools/cmd/godoc
	go get -u code.google.com/p/go.tools/cmd/vet
	go get -u github.com/golang/lint
	go install github.com/golang/lint/golint
	go get -u github.com/kisielk/errcheck
{'fraction_non_alphanumeric': 0.15933232169954475, 'fraction_numerical': 0.0020232675771370764, 'mean_word_length': 2.90138067061144, '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': '5570578', 'n_tokens_mistral': 773, 'n_tokens_neox': 735, 'n_words': 218}