<commit_before>PKG  = github.com/DevMine/repotool
EXEC = repotool

all: check test build

install:
	go install ${PKG}

build:
	go build -o ${EXEC} ${PKG}

test:
	go test ${PKG}/...

deps:
	go get -d github.com/libgit2/git2go && \
		cd "${GOPATH}/src/github.com/libgit2/git2go" && \
		git submodule update --init && make install
	go get -u github.com/lib/pq
	go get -u github.com/spaolacci/murmur3
	go get -u github.com/DevMine/srcanlzr/src

check:
	go vet ${PKG}/...
	golint ${GOPATH}/src/${PKG}

cover:
	go test -cover ${PKG}/...
<commit_msg>build: Adapt check rule to new golint behavior.<commit_after>PKG  = github.com/DevMine/repotool
EXEC = repotool

all: check test build

install:
	go install ${PKG}

build:
	go build -o ${EXEC} ${PKG}

test:
	go test ${PKG}/...

deps:
	go get -d github.com/libgit2/git2go && \
		cd "${GOPATH}/src/github.com/libgit2/git2go" && \
		git submodule update --init && make install
	go get -u github.com/lib/pq
	go get -u github.com/spaolacci/murmur3
	go get -u github.com/DevMine/srcanlzr/src

check:
	go vet ${PKG}/...
	golint ${GOPATH}/src/${PKG}/...

cover:
	go test -cover ${PKG}/...

{'fraction_non_alphanumeric': 0.16903914590747332, 'fraction_numerical': 0.008896797153024912, 'mean_word_length': 3.0613718411552346, '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': '577618', 'n_tokens_mistral': 496, 'n_tokens_neox': 474, 'n_words': 123}